News for hackers. Stuff that matters.
Re:Why Code Snobs Are Invaluable by eldavido on Thursday February 26, 2015 @12:44PM (#9113820)
It depends a lot on your mentality toward writing code. I find matching the long/short-termness of engineering practice to the overall mentality of the organization results in the least friction.

Concrete example: if you're building a system to last 5-10 years, act like it. Spend time getting the architecture, the variable names, and the module structure correct. But realize not everything must be built to last. I read somewhere else on HN that some groups inside of Google plan a piece of code to handle 10x growth in traffic/storage/resource use before it's thrown out outright and rewritten -- so don't overdesign.

Maybe the real lesson is to invest in sufficiently good modularity that it's easy to throw things out without too much pain. Nothing lasts forever.

Re:Why Code Snobs Are Invaluable by shanemhansen on Thursday February 26, 2015 @03:14PM (#9115155)
I can't find the reference but my rule of thumb is actually to build for 10x and design for 100x. That is to say if my service is now processing 1k requests/s I'd like the capacity for 10k requests/s and I'd like the existing architecture to be scalable by adding more nodes up to 100k requests/s.
Re:Why Code Snobs Are Invaluable by BurningFrog on Thursday February 26, 2015 @01:28PM (#9114175)
Good modularity IS good design and pays off in many other ways as well.