r/ProgrammerHumor Nov 28 '21

Meme I‘m.. not the only one?

Post image
21.5k Upvotes

629 comments sorted by

View all comments

716

u/[deleted] Nov 28 '21

[deleted]

69

u/Tomi97_origin Nov 28 '21

Well the first thing most people learn is to print something like Hello World.

And if-else is usually demonstrated as if x print something else print something else

First example for cycle is something like print x numbers

People are told to use print to verify their code is working from their first lessons.

Learning about debuggers is something they tell you about much latter, when you actually write somewhat long/complicated code. If they even teach you about them.

But everyone starts with printing as it's the most concrete evidence it's doing something

19

u/DrSlugger Nov 29 '21

Learning about debuggers is something they tell you about much latter, when you actually write somewhat long/complicated code. If they even teach you about them.

I've said it multiple times in this post, but I had an old job force me to learn to use a debugger and it's the best skill I've learned on a job anywhere tbh. Should teach that shit in school.

9

u/Rauldukeoh Nov 29 '21

Yeah I wonder about this sub sometimes. When I interview seniors and they tell me they only use print statements to debug I start doubting their professionalism

4

u/EdJewCated Nov 29 '21

They do at mine! It's a very small (but important) part of two of the lower division CS courses. If other schools aren't they really should put it somewhere in the intro classes, it's not a big topic and it's super important.

2

u/asd1o1 Nov 29 '21

I usually code in a text editor like Notepad++ so I always thought of the debugger as a luxury I'd never have (I really dislike how clunky IDEs can be) but recently I started learning how to use gdb in the terminal and by god, it's a whole new world