this post was submitted on 25 Aug 2023
391 points (100.0% liked)

Programmer Humor

855 readers
7 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] grue@lemmy.ml 18 points 1 year ago (1 children)

Pro tip: the arguments to main() don't have to be named argc and argv.

Also, you forgot to #define an alias for atoi, and number, n, and i could've been named something more on fleek.

[โ€“] bronzle@lemm.ee 5 points 1 year ago* (last edited 1 year ago)

Also could have takin out mains return type and used sus chief