this post was submitted on 13 Nov 2025
17 points (94.7% liked)

Linux

10136 readers
712 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Looks like $(...) is better, but I still pretty often see `...` in some articles.

you are viewing a single comment's thread
view the rest of the comments
[–] nous@programming.dev 3 points 3 days ago

Why wrap it in a function at all? Why not just put the if at the top of the file?