News for hackers. Stuff that matters.
Re:On code quality: rewrite once by bmj on Tuesday January 27, 2009 @11:13AM (#452291)
Well, maybe. I think it depends on the project.

At the moment, I'm working interfacing a handheld device with a networking device. I quickly wrote a prototype to work out implementation details (since connectivity required using a particular protocol). That's not to say I didn't write parts of the prototype to be refactored or pulled out, but given that I had to do a fair amount of exploratory programming to determine the best implementation, much of the prototype code will be thrown away.

Re:On code quality: rewrite once by vivekkhurana on Tuesday January 27, 2009 @11:05PM (#453299)
So you are working with a new technology stack and exploring new things... throwaway prototype is good when youa re doing something new. If you were versed witht he particular protocol, would you need to write to throwaway prototype ? I dont think so...