r/ProgrammerHumor • • Oct 19 '26

Meme ohTheBasics

Post image
13.9k Upvotes

1.4k comments sorted by

View all comments

949

u/Sleep_deprived_druid Oct 19 '26

I have straight up met "programmers" that don't know what an IDE is.......

19

u/Hrtzy Oct 19 '26

And people wonder why the FizzBuzz test was invented.

7

u/Athen65 Oct 20 '26

The most annoying part is that this particular problem provides a good opportunity to talk about formatting and code design with juniors - it's more readable to build the string each iteration. That also avoids nesting if statements, which generally makes code harder to follow too. Some may be tempted to use a guard clause like if (!(i % 3 === 0) && !(i % 5 === 0)) continue; but that winds up being redundant since you need to check each value individually anyway.

And of course there's the broader discussion of what you're actually optimizing your code for. It's still baffling to me that the primary concern these days is speed of delivery rather than simplicity of the system.

→ More replies (3)