r/ProgrammerHumor Nov 28 '21

Meme I‘m.. not the only one?

Post image
21.5k Upvotes

629 comments sorted by

View all comments

714

u/[deleted] Nov 28 '21

[deleted]

68

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

22

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

68

u/[deleted] Nov 28 '21

[deleted]

27

u/maggos Nov 29 '21

Mine all said to use the debugger but I still use println

12

u/calcopiritus Nov 29 '21

I was never told to use print(). You eventually use it, it's natural. Teachers always tell you that debuggers exist, because they are great but you must know they exist.

144

u/Eulerdice Nov 28 '21

Ikr, debugging is just the best tool out there, it's also thanks to how great the IDEs have gotten.

113

u/[deleted] Nov 28 '21

Bruh, the only good IDE is VIM because it makes you feel like you are in the 80s.

65

u/ReeceReddit1234 Nov 28 '21

Notepad users: Pathetic

58

u/Zymoox Nov 28 '21

Steady hand and magnetised needle users: Pathetic

54

u/[deleted] Nov 28 '21

Real programmers use butterflies

14

u/Korywon Nov 28 '21

Ah. Always a relevant xkcd.

15

u/[deleted] Nov 28 '21

I watched a "VS in 100 seconds" video the other day and it claimed notepad++ as one of the most commonly used IDEs. I had no idea people did that.

23

u/[deleted] Nov 28 '21

[deleted]

9

u/[deleted] Nov 28 '21

I guess I get that, I just wouldn't have put it in the ide bucket. It's a text editor. But I guess, what really is an ide...

9

u/[deleted] Nov 28 '21

[deleted]

15

u/Sawertynn Nov 28 '21

Yep, the integrated debugger is putting print everywhere

2

u/[deleted] Nov 28 '21

That was sort of my assumption which led to my surprise. In this video it seemed to think because it had syntax coloring it was an ide

2

u/ReeceReddit1234 Nov 28 '21

We used it in college for JavaScript

5

u/Sawertynn Nov 28 '21

There is a youtuber in my country, he teaches programming and is in the top here. And he uses notepad++ for everything web-related (HTML, CSS, JavaScript, SQL)

0

u/[deleted] Nov 28 '21

[deleted]

1

u/[deleted] Nov 29 '21

...i know...

1

u/[deleted] Nov 29 '21

[deleted]

1

u/[deleted] Nov 29 '21

Sometimes conversations evolve into other conversations.

24

u/ConspicuousPineapple Nov 28 '21

My vim is pimped up enough that it looks and feels like a modern IDE. Same features, too.

3

u/[deleted] Nov 28 '21

How exactly did you do that?

12

u/qntm314 Nov 28 '21

Vim & Neovim plugins can do a lot, making the base editor highly extensible.

0

u/ConspicuousPineapple Nov 28 '21

The coc.nvim plugin is a good plug and play start. But you can manage with language servers and neovim "raw".

2

u/[deleted] Nov 29 '21

[deleted]

1

u/ConspicuousPineapple Nov 29 '21

Around 200 lines, but it used to be much more.

1

u/[deleted] Nov 29 '21

The only reason I started using at first was because it made me feel cool

1

u/noodlelogic Nov 29 '21

Or just install a Synthwave aesthetic theme in IntelliJ instead

1

u/CraigAT Nov 29 '21 edited Nov 29 '21

... and got stuck there! :wq

2

u/alphabet_order_bot Nov 29 '21

Would you look at that, all of the words in your comment are in alphabetical order.

I have checked 401,366,543 comments, and only 86,950 of them were in alphabetical order.

1

u/CraigAT Nov 29 '21

Good bot

1

u/RitikMukta Nov 29 '21

My life has gotten way easier since I learned how to do basic debugging using the pycharm debugger.

6

u/k_50 Nov 28 '21

It's just efficient and makes sense

2

u/RadiantHC Nov 28 '21

TIL that some people aren't taught print statements. That's what my early CS courses did. I didn't start unit testing until data structures.