ProgrammerHumor

rememberingHighSchool

[removed]

Reddit

Discussion

Educational-Show-845

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.

3 hours ago
Jugales

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.

2 hours ago
Educational-Show-845

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...

float p = 1.25; //price

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.

2 hours ago
fonk_pulk

When I have someone hovering behind me I'll make every typo possible and fail to write the simplest functions

2 hours ago
Zirkulaerkubus

No second order function used using some kind of arithmetic interface? What barbarism.

3 hours ago
lord_alberto

Bad code! I miss the check for a+b < MaxValue for int. /s

2 hours ago
menzaskaja

the second one is just piratesoftware

2 hours ago
ModeratelyUsefulBot

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

2 hours ago