Live data from Hacker News

Coding Horror: Hardware is Cheap, Programmers are Expensive

codinghorror.com

21–30 of 60 posts

Re: Coding Horror: Hardware is Cheap, Programmers are Expensive

#21
post #3

This is a ridiculous myth that I wish we could just put to rest once and for all. If your overpaid programmers are writing O(n^2) algorithms then that cheap hardware is going to get expensive real quick. Even if hardware was free you still need to put it somewhere, power it, cool it and so on. There's no excuse for sloppy coding.

Yep, good programmers might be expensive, but in the long-term so is the energy needed to power overworked hardware from sloppy coding.

Re: Coding Horror: Hardware is Cheap, Programmers are Expensive

#25
post #22

Am I the only one thinking those salary figures are around 30-40K too low?

It's the whole US, it isn't broken down by geographic region or anything.

But even then, 30-40K is weak. 40K should be your starting salary. Anything less, and you're being taken.

Re: Coding Horror: Hardware is Cheap, Programmers are Expensive

#26
post #3

This is a ridiculous myth that I wish we could just put to rest once and for all. If your overpaid programmers are writing O(n^2) algorithms then that cheap hardware is going to get expensive real quick. Even if hardware was free you still need to put it somewhere, power it, cool it and so on. There's no excuse for sloppy coding.

If you are going to pay big bucks to a programmer, you want one that does a little algorithm analysis before s/he puts fingers to keyboard, same with memory usage. I saw a major project go down the tubes because the architect thought that it scaled limitlessly but really it scaled n^2. Ain't good for a transaction protocol.

If you need to scale, you need to have a good architectural path from the beginning. I've talked to too many companies whose growth is constrained by the need to re implement from the ground up, right in the middle of the hockey stick growth. What I mean is a little bit of thought at the beginning, not months of agonizing or 9 tons of frameworks. Given that, you can throw hardware at it and let your programmers add value.

Re: Coding Horror: Hardware is Cheap, Programmers are Expensive

#27

Earlier quoted context omitted.

If your overpaid programmers are writing O(n^2) algorithms then that cheap hardware is going to get expensive real quick. Well, that depends on the value of n , right? Not every piece of software is Google or Twitter: They don't all have a userbase that grows virally to encompass every breathing human in existence, plus animals and robots. Especially if you charge the users money.

Not every piece of software is Google or Twitter: Worse, almost all software isn't like a Google or Twitter. In almost all cases hardware is vastly cheaper than programmers. The Googles and Twitters of the world are extreme outliers and are no where near the median.

I don't believe that's true. Google sure, but twitter is just another message routing system, like any one of the IM networks.

The average irc server probably handles more than twitter - certainly email software does.

There's a ton of software that needs to scale, and be able to handle a large volume of data.

Re: Coding Horror: Hardware is Cheap, Programmers are Expensive

#28
Do software programmers really worry too much about optimization? If that's the case, why are so many programs slow as a crippled sloth? Why does it take 10 seconds to open a freaking email client, when 1980s technology can do this in less time than is humanly noticeable?

Re: Coding Horror: Hardware is Cheap, Programmers are Expensive

#29
post #27

Earlier quoted context omitted.

Not every piece of software is Google or Twitter: Worse, almost all software isn't like a Google or Twitter. In almost all cases hardware is vastly cheaper than programmers. The Googles and Twitters of the world are extreme outliers and are no where near the median.

I don't believe that's true. Google sure, but twitter is just another message routing system, like any one of the IM networks. The average irc server probably handles more than twitter - certainly email software does. There's a ton of software that needs to scale, and be able to handle a large volume of data.

Twitter is not "just a messaging system". See:

http://www.hueniverse.com/hueniverse/2008/03/on-scaling-a-mi...

(Many thanks to Eran Hammer-Lahav for writing this so that I don't have to.)

Re: Coding Horror: Hardware is Cheap, Programmers are Expensive

#30
post #3

This is a ridiculous myth that I wish we could just put to rest once and for all. If your overpaid programmers are writing O(n^2) algorithms then that cheap hardware is going to get expensive real quick. Even if hardware was free you still need to put it somewhere, power it, cool it and so on. There's no excuse for sloppy coding.

Although, when it comes to custom intranet apps, N is usually tiny.

The IT world is a lot bigger than websites. Monte Carlo simulations for example are constrained literally by power and cooling and the floor loading of your datacentre. If you aren't squeezing every last drop of compute out, you might as well not bother. Algorithms are everything.
Post reply on HN