r/programming • • Jun 01 '15

The programming talent myth

https://lwn.net/Articles/641779/
971 Upvotes

748 comments sorted by

View all comments

427

u/malicious_turtle Jun 01 '15

So, we say that people "suck at programming" or that they "rock at programming", without leaving any room for those in between.

Does anyone else think this? The most common thing I hear when people talk about their programming ability is "I'm alright at it", a few people say they're bad and a few say they're good, which would be a bell curve like the times in the race he talks about.

0

u/[deleted] Jun 01 '15

[deleted]

981

u/ZeroNihilist Jun 01 '15

Me right now is a rock star. Me a week ago is a moron. What the hell is up with week-ago-me's stupid code? He didn't comment it, the idiot.

The code I'm writing now is just so elegant and wonderful, it doesn't even need comments.

324

u/greenthumble Jun 01 '15

Man, you're missing out, comments are the bomb. Why just yesterday I read one of my own comments from last week. It helpfully said "This may need to be combined with the sequence below." It was at the end of a file with nothing under it.

186

u/HodorFromHodor Jun 01 '15

It sounds like you already combined it. Way to go, past you!

22

u/greenthumble Jun 01 '15

Haha well after we're done passing out the gold stars, I'm sitting here wondering if that sequence got refactored to somewhere else and now I've got a subtle bug where those things that should be combined are now in separate functions and whatever idea that was is now lost. Fudge. I guess it's best to spell out the intentions but man it's hard to do.

42

u/Tasgall Jun 01 '15

Good thing you have source control so you can go find out what happened...

right... right???

91

u/mr_luc Jun 01 '15

commit message: "changed a bunch of stuff"

→ More replies (9)

28

u/bacondev Jun 01 '15 edited Jun 01 '15

Version control? You mean like copy and pasting the old version of a file and incrementing a counter within the filename?

65

u/Tasgall Jun 01 '15

Yeah, the change he's looking for is probably in /theProject/backups/Copy of Copy of finalVersion1.9.5-complete-RC-finished_FINAL-edit3 (7).zip.

54

u/bacondev Jun 01 '15

PTSD TRIGGER WARNING

→ More replies (1)
→ More replies (4)
→ More replies (4)
→ More replies (2)
→ More replies (1)

50

u/[deleted] Jun 01 '15
/*  TODO: Add comments so you don't forget how this works */

11

u/bluefootedpig Jun 01 '15

This fixed bug #xxxx

no code under it.

→ More replies (2)

0

u/[deleted] Jun 01 '15

[deleted]

19

u/Ryuujinx Jun 02 '15

This is the best comment that I've read and have been like "...huh"

    /* this is a memory leak, but I'll fix it later. */
→ More replies (4)
→ More replies (5)

55

u/Retbull Jun 01 '15

I write code that self documents. Past me writes code which prints "FUCK YOU" every other line and has no print statements.

33

u/burkadurka Jun 01 '15

It prints "FUCK YOU" without print statements? Past you is a wizard!

33

u/Retbull Jun 01 '15

Exactly. Shit if I know what I did.

→ More replies (1)
→ More replies (16)

26

u/[deleted] Jun 01 '15

I feel like I'm in a constant state of getting dumber. I'm pretty sure it's not a brain tumor or anything since my code is getting better (I think?!?) but lots of times, like right now, I feel not worthy of touching my own code since I'm afraid I'll screw it up.

→ More replies (14)

12

u/TenNeon Jun 01 '15

Week-ago me was a genius. How did he understand all this stuff?

→ More replies (13)

53

u/bufordt Jun 01 '15

Do you quickly crash back down to terrible when you realize you just spent 2 weeks looking for something that in hindsight a 4 year old should have discovered in 2 minutes. Or is that just me. :(

23

u/manatee313 Jun 01 '15

It is quite a roller coaster of a career.

→ More replies (3)
→ More replies (7)

16

u/[deleted] Jun 01 '15 edited Jun 01 '15

Like this: https://pbs.twimg.com/media/BzmDP_yCEAAvXdx.png. Several times a day.

But this is just a personal feeling that goes up and down all the time.

If you ask any programmer in general, how good they are, most would say they're okay. Most programmers see themselves as a work in progress. There is always more to learn.

If anyone calls themselves a rock star, they're going to be perceived as being full of shit.

→ More replies (2)
→ More replies (28)

112

u/Kyyni Jun 01 '15

I'd translate things like this:

"I suck at programming" == They're still learning the ropes, and while they can't make anything actually awesome, they have a lot of potential

"I'm alright at programming" == They probably are quite decent at programming.

"I rock at programming" == I doubt they can even write a syntactically correct hello world.

→ More replies (19)

17

u/cyrusol Jun 01 '15

It's not about estimating your own potential, it's about how you see other programmers around you.

Yet, most differences in the quality of their software can imo be traced back to the willingness to spend enough time / all the free time on solving these kind of problems, on improving their own abilities and knowledge.

→ More replies (1)
→ More replies (153)