[removed]
When I have someone hovering behind me I'll make every typo possible and fail to write the simplest functions
No second order function used using some kind of arithmetic interface? What barbarism.
Bad code! I miss the check for a+b < MaxValue for int. /s
the second one is just piratesoftware
Hello and thank you for posting to r/programmerhumor! You have previously posted two submissions within the past 24 hours so this submission has been removed. If you intend to repost it later we recommend deleting this one first to prevent other bots from removing it as a duplicate.
BOOP! BLEEP! I am a bot. Concerns? Message /r/programmerhumor. Previous post(s): 1m2up6l, 1m2wagi | limit: 2 per 1d | next eligibility: 2025-07-19 06:11 UTC
From peer tutoring, I feel like 50% of the kids in my high school are too lazy to write a single comment or even use good coding conventions while the other half will write an entire essay to explain how a Hello World program works.
The duality of mankind, I guess.
From newbie coders, I see a lot of one-letter variables. I think it’s because they are accustomed to math variables more than laziness, though.
Single-letter variables aren't exactly that bad if they're being used as counters in loops and in a few other rare situations like coordinates or lambdas.
If they're doing stuff like...
And then using p for the entire program, then yeah.
I guess this is more like not knowing when to use single-letter variables vs. when to actually use descriptive names for variables as a lot of coding tutorials I see tend to emphasize more on the technical side of coding vs. focusing on readability.