Live data from Hacker News

Ask HN: What's a bad programmer?

news.ycombinator.com

11–14 of 14 posts

Re: Ask HN: What's a bad programmer?

#11
Someone who writes bad code. I don't like the expression "bad programmer" I prefer to say someone who is programming badly. Because that makes it clear that it is the action that is bad and the badness isn't inherent in the character.

If your next question is "How do you know if someone writes bad code?" then it is fairly simple for an experienced programmer to see if a piece of code is bad, good or somewhere in between.

Re: Ask HN: What's a bad programmer?

#12
I don't mind slow programmers, or programmers who know when a problem is too difficult for them, or programmers who ask too many questions and need constant confirmation and hand-holding. They are a bit annoying, granted, but harmless, and can be a somewhat valuable addition to your team if you give them the right tasks. Often these guys can do grunt work at reasonable quality.

The worst ones are those that know just enough to be dangerous, and who think they know everything. Instead of asking, they make assumptions, and produce code that almost works. Meaning, it will pass most of the obvious test cases, but breaks as soon as it hits production.

Example: One guy had to add a meta tag to a web page, with the page's publish date in ISO format. Instead of using the source data, which had the date as a DateTime object, he parsed the date from the formatted page output. This worked for US pages, and European pages where the day of the month was <= 12 (because of the different order of day and month), but broke as soon as the displayed string was impossible to parse. Ugh. Any half-decent programmer would wonder, "there must a better way to do this?"

Re: Ask HN: What's a bad programmer?

#13
Anyone who thinks or acts like they're the most important asset to the organisation.

Applies generally in all walks of life, in most situations. I've seen it in programming, and I've seen the mess that's left when people ignore that problem for too long.

Re: Ask HN: What's a bad programmer?

#14
The only bad programmers I know are those who over promise and under delivers.

If a programmer week after week on project after project says he will do x, y and z and next week he did G then it ruins the team because nobody knows what to believe and what to count on.

Post reply on HN