this post was submitted on 25 Aug 2023
599 points (94.8% liked)

Programmer Humor

32589 readers
953 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 26 points 1 year ago (2 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 6 points 1 year ago* (last edited 1 year ago)

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

[–] darcy@sh.itjust.works 2 points 1 year ago (1 children)
[–] grue@lemmy.ml 5 points 1 year ago (1 children)

Yes, as are n and i. Do they not deserve 'fleekness?'

[–] darcy@sh.itjust.works 1 points 1 year ago

sorry i misread. i thought u meant number was not #define'd