1075
submitted 11 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 11 months ago

Unironically: For in-house scripts and toolboxes where I want to set stuff like input directory, output directory etc. for the whole toolbox, and then just run the scripts. There are other easy solutions of course, but this makes it really quick and easy to just run the scripts when I need to.

[-] [email protected] 5 points 11 months ago

But those would be constants, not variables.

[-] [email protected] 1 points 11 months ago

I typically don't declare them as such - bring the pitchforks!

[-] [email protected] 1 points 11 months ago

Everything’s a variable if you’re brave enough.

[-] [email protected] 2 points 11 months ago* (last edited 11 months ago)

My void* doesn't care about your const!

this post was submitted on 08 Oct 2023
1075 points (96.6% liked)

Programmer Humor

19207 readers
1274 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS