News for hackers. Stuff that matters.
Re:Too scared to write a line of code by Zakharov on Friday May 24, 2013 @08:01PM (#5765858)
If you write code too slowly, go faster. If you write code too quickly, go slower.

You can tell if you're too slow when you've spent two weeks thinking about the program and have neither working code nor a detailed design, or if you've created a detailed design only to realize upon implementation you'd gone about it entirely the wrong way.

You can tell if you're too fast if you find yourself spending more time cleaning up messes of poorly-thought-out spaghetti code.

Re:Too scared to write a line of code by andrewljohnson on Friday May 24, 2013 @08:55PM (#5765980)
This is like in go. If your walls are too brittle, play more conservatively. If your walls are too thick, loosen up. You can make generally better moves in go just by recognizing if you are too conservative or too aggressive. Same with poker.
Re:Too scared to write a line of code by avalaunch on Friday May 24, 2013 @11:44PM (#5766265)
Upvoted to make up for MBlume's mistake. :)
Re:Too scared to write a line of code by Zecc on Saturday May 25, 2013 @05:46AM (#5766815)
Upvoted again, because I felt like it. But it's still one upvote short, I guess.
Re:Too scared to write a line of code by mgkimsal on Saturday May 25, 2013 @07:05AM (#5766915)
Fixed. :)
Re:Too scared to write a line of code by MBlume on Friday May 24, 2013 @09:38PM (#5766057)
meant to upvote you and downvoted by accident, just so you know
Re:Too scared to write a line of code by stevenwei on Friday May 24, 2013 @10:19PM (#5766115)
Yes. To add to that:

Sometimes you'll want to plan ahead because the nature of the problem means you'll have a harder time cleaning things up later.

Other times, you want to move quickly because creating castle-in-the-sky architectures is not the best use of your time (especially if it becomes paralyzing).

Experience helps you determine which type of situation you're dealing with.

Re:Too scared to write a line of code by beckje01 on Friday May 24, 2013 @08:57PM (#5765984)
The problem that comes up is by the time you hit the tipping point of more cleaning then feature additions you end up having to do the fast solutions to fit deadlines.

I think when you take on the debt of poor code you have to remember that what it will take to fix that problem will continue to increase the longer you are away from that code.

Now I don't think you should consider fixing things for scale poor code that is it's own beast which makes the most sense to handle once you have the problem as you can't really tell what the problem will be until you have it.