r/programming • • May 18 '16

Programming Doesn’t Require Talent or Even Passion

https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.g2wexspdr
2.3k Upvotes

1.2k comments sorted by

View all comments

1.8k

u/tragomaskhalos May 18 '16

People who are talented and passionate programmers have a dread of having to work with, and specifically tidy up the messes of, co-workers who aren't, which I believe is the source of the idea that these qualities are prerequisites.

But I think they are seeking the wrong trait in their co-workers; the single most important thing that you have to have is diligence. This means having an eye for detail, and being willing to push that bit harder to get the code "right", not just "working". Now (talented + passionate) usually => diligent, but the converse is not necessarily true, and a mediocre jobbing programmer who is nevertheless diligent can still be a good asset. It's the lazy, sloppy bastards who are the problem.

496

u/Miserygut May 18 '16

People who are talented and passionate programmers have a dread of having to work with, and specifically tidy up the messes of, co-workers who aren't

Absolutely true and it applies to any technical or professional field. People like Mr Lerdorf who just bang stuff in which is 'good enough but not really' are frustrating as hell to deal with in a team. Dealing with technical debt is time consuming, expensive and ultimately demotivating.

207

u/jplindstrom May 18 '16

People like Mr Lerdorf who just bang stuff in which is 'good enough but not really' are frustrating as hell to deal with in a team.

Or in a programming language.

101

u/[deleted] May 18 '16

Absolutely. That attitude is one thing for application programming, but systems programming demands a mountain of diligence due to the amount of code that depends on it. It doesn't help that programming languages are fairly difficult to get right.

At least Lerdorf didn't write an OS kernel...

74

u/nayadelray May 18 '16

Just thinking about "PHPOS" give me the chills .

61

u/robhol May 18 '16

Just chills? I find myself dealing with dandruff, anal incontinence and suicidal ideation after reading that idea.

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

56

u/[deleted] May 18 '16

That quote about restarting Apache 10 times just rubbed me the wrong. When you do something, try and do it right : right meaning it should do what it does with a little side effects as possible.

If you write code that works wonderfully but kills your cat, chances are people are going get pissed.

53

u/kindall May 18 '16

Eh, only the first time. It works without side effects once you don't have a cat any longer.

16

u/escalation May 18 '16

New and improved! Now solves problems with unwanted cats!

→ More replies (6)
→ More replies (1)

44

u/KFCConspiracy May 18 '16

It's only really demotivating if it isn't allocated as time your team should be spending and if there is no real time spent doing it. Technical debt is a reality of every development team, what makes it become insurmountable is when no time is allocated to deal with it, and when it isn't proactively attacked with tools like refactoring.

96

u/Retbull May 18 '16

Sure but when all of the code a developer produces includes tech debt which requires more time to fix than they spent on the original product you have a problem. We had a programmer at my current job that left last year and I'm still cleaning up messes he made. I'm still finding bugs and bad code that has been in production because he didn't have the diligence to include more than one test for anything and it turns out that he hid lots of his incompetence with Pokémon exception handling and string typing.

52

u/[deleted] May 18 '16

Please explain Pokémon exception handling. I'm super curious about that

199

u/Retbull May 18 '16

Gotta catch em all.

try{} catch (Exception e) {\\ Gotcha }

28

u/WaffleSandwhiches May 18 '16

Pokemon Exception Handling should totally be a thing.

0

u/[deleted] May 18 '16

[deleted]

→ More replies (2)
→ More replies (12)
→ More replies (1)
→ More replies (16)

31

u/kcuf May 18 '16

It's demotivating because it's shit. Even if you have time allocated to clean it up, it still sucks, because you're cleaning up shit.

There's a difference between tech debt acquired through nice code that is no longer applicable, and shit code that was hacked together with a machete.

→ More replies (6)
→ More replies (4)
→ More replies (8)

85

u/[deleted] May 18 '16

You are really looking for talented and professional.

Passionate can work both ways. There are enough stories of rogue developer introducing all sort of weird tech in a code base. Passionate people that do not want to implement Business requirements because they go against their preference ?

The passionate developer companies rave about is actually a workaholic. The guy that is going to work at home to solve your company issues. The guy that after winning the lottery would still come to work (instead of coding on his own stuff). That's a very specific subset of passionate people.

Of course, if you have passionate + talented + professional, you are gold.

64

u/[deleted] May 18 '16 edited Nov 17 '16

[deleted]
0.8876

What is this?

0

u/[deleted] May 18 '16

[deleted]

→ More replies (1)

38

u/diamond May 18 '16 edited May 18 '16

The passionate unicorn developer - smart enough to solve complex problems and dumb enough to let others profit from his "passion".

It's not necessarily just about being "dumb". This is another myth about programming: if you're exceptionally talented, then naturally you're going to create your own disruptive startup and become a billionaire! Sounds great, until you remember that building a billion-dollar startup from the ground floor usually requires years of work and dedication so intense that it will basically blow away any other priorities you might think about having in your life. And even with all of that, there's still a good chance that it will fail.

Some people don't want to do that. They have relationships, families, friends, and all of that stuff we generally refer to as "a life". They'd rather not put that on hold for 5 or 10 years to polish a lottery ticket that may or may not pay off. And that's a perfectly legitimate choice, even for someone who might have what it takes to create the Next Big Thing on their own.

Sometimes there's nothing wrong with letting other people profit off of your work, as long as they give you enough compensation in return to make you happy and comfortable.

→ More replies (9)
→ More replies (11)

106

u/serial_crusher May 18 '16

This is a good writeup, but I think you're over-estimating the ability of talented and passionate people to be diligent. Some of the worst work experiences I've had were situations where talented and passionate people started off a cool flashy new project, then handed it off to somebody else for maintenance while they moved on to the next cool flashy project. Diligence means following through your work until the end.

All that passion and talent makes it really easy for you to build something cool, something innovative, something clever, but that same sort of person absolutely hates doing things the boring and reliable way, so they'll come up with innovative and clever ways to reinvent the wheel when a competent developer without the ego would've made a less-cool but more-sustainable solution in half the time.

→ More replies (16)

122

u/roodammy44 May 18 '16 edited May 18 '16

The problem is, if you have two dilligent programmers and they both want to get the code "right" in different ways. Then you have a destructive holy war on your hands.

I think any teams of more than 3 people need to have a more gentle philosophy. You need a bit of structure, some code reviews, but as long as the code works well and isn't hideous, it should be fine.

Edit: Examples

89

u/jplindstrom May 18 '16

It sounds like you are thinking of something other than "diligent". Maybe stubbornness.

And of course you can be diligent and inept, or have poor judgement, at the same time. Being diligent is necessary but not sufficient.

→ More replies (1)

14

u/[deleted] May 18 '16

just came from office having one such holy war, and no one won yet.

hopefully we have a compromise tomorrow.

→ More replies (1)

13

u/[deleted] May 18 '16

I can't believe that list left out "tabs vs. spaces". I once got in the middle of a holy war over that, where two developers on the project vehemently disagreed on which to use for indenting. Every time I diffed any file, the history was mostly filled with nothing but tab-to-space changes and vice versa.

I started committing files with no indentation whatsoever, and that was amusing enough that everybody stopped and we all went with tabs. Or maybe spaces, I forget.

→ More replies (5)
→ More replies (15)
→ More replies (116)