shokwave comments on PSA: Learn to code - Less Wrong

34 Post author: John_Maxwell_IV 25 May 2012 06:50PM

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

Comments (77)

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

Comment author: Vladimir_Nesov 25 May 2012 08:55:08PM *  3 points [-]

If you're a mathematician or physicist and you solve a problem wrong, your paper won't tell you.

But it's comparatively easy to spot errors (or dead ends) as you go, and then you try to find ways of fixing them (which is harder). It seems similar to programming in this respect, maybe the greatest difference is that in programming you often work with a vast code base, and the problems can occur because of its peculiar properties you knew nothing about (or have long forgotten). Also, debugging is typically much easier in terms of cognitive load (while design can get challenging).

Comment author: shokwave 28 May 2012 01:13:32PM -1 points [-]

But it's comparatively easy to spot errors (or dead ends) as you go, and then you try to find ways of fixing them (which is harder).

It takes discipline, and it seems to only fit a certain type of mind, but test-driven development will let you spot errors as you go.