mattnewport comments on Open Thread: March 2010, part 2 - Less Wrong

4 Post author: RobinZ 11 March 2010 05:25PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (334)

You are viewing a single comment's thread. Show more comments above.

Comment author: cousin_it 12 March 2010 01:24:02AM *  2 points [-]

I disagree!

A (real) novice programmer's number one worry should be getting paid. Why should they divert their attention and spend extra effort on writing maintainable code, just so you have an easier time afterward? That's awfully selfish advice.

You might claim writing maintainable code will pay off for them, but to properly evaluate that we need to weigh the marginal utilities. What's better, an extra hour improving the maintainability of your code, or an extra hour spent empathizing with the client? Ummm... And you can't say both of those things are first priority, that's not how it works. I've been coding for money for half of my life so listen to my words, ye lemmings: ship the thing, make the client happy, get paid. That's number one. Maintainability ain't number one, it ain't even in the top ten.

Comment author: mattnewport 12 March 2010 01:36:44AM 5 points [-]

That depends on your incentive structure. You may well be right if you work as a contract programmer. If you work as a salaried employee in a large company the calculation could look different.

Comment author: cousin_it 12 March 2010 12:42:48PM *  -1 points [-]

Yes, absolutely. The former path (working or contracting for many small companies) is the one I'd heartily recommend to novices. The latter path... scares me.

Comment author: murat 12 March 2010 01:51:12PM 2 points [-]

Maybe you are scared because you are aware that writing maintainable code is harder than writing code without that constraint?

Comment author: cousin_it 12 March 2010 02:10:02PM 2 points [-]

I write maintainable code anyway, and I'm friends with several people who maintain my past code and don't seem to complain. No, working at BigCo scares me because it tends to be a very one-sided activity. Employees at small companies and contractors face much more variety in what they have to do every day.