29 Replies - 3822 Views - Last Post: 31 March 2011 - 02:36 AM
#1
Write good code or get the job done fast?
Posted 04 January 2010 - 01:29 PM
What are your thoughts on this?
Replies To: Write good code or get the job done fast?
#2
Re: Write good code or get the job done fast?
Posted 05 January 2010 - 03:56 AM
#3
Re: Write good code or get the job done fast?
Posted 05 January 2010 - 08:41 AM
That sentence sounded like I was a prostitute
#4
Re: Write good code or get the job done fast?
Posted 06 January 2010 - 10:43 AM
Don't get me wrong. I like spaghetti but only for dinner.
#5
Re: Write good code or get the job done fast?
Posted 07 January 2010 - 04:34 AM
#7
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 08:58 AM
So far instance, if you pick GOOD and FAST, your product will not be CHEAP.
If you pick FAST and CHEAP, your product will not be GOOD.
Etc...
Writing code quickly, without fully analyzing the problem or trying to future proof, although solving the problem for the time being, will come back to bite you should you need to make modifications or additions later on. Often fixing one problem, breaks another area of your system.
Take the time to write robust and efficient code, start creating templates that can be reused to save time in the future. You will be more than happy when you revisit the project and realize you can easily do what you need to.
I always try to follow the Three Tier Architecture. Data Access Layer -> Business Layer -> Presentation Layer.
Remember that high cohesion and low coupling will undoubtedly save you time and frustration.
#8
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 09:05 AM
I inform them right upfront that there are 2 ways of writing code
- Just make it work
- Make it work and be efficient and extensible
EDIT: I featured this (good conversation piece) and am moving it to Corner Cubical so all programmers, regardless of language, can chime in with their thoughts on the topic
#9
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 09:20 AM
Donald Knuth said:
Write code that works first, then optimize. With experience, the code you write becomes better and eventually you will reach the level of experience when the initial code is very efficient and there is little or no need to optimize.
#10
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 09:25 AM
#11
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 10:31 AM
#12
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 01:24 PM
This post has been edited by milleja46: 08 January 2010 - 01:25 PM
#13
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 01:53 PM
Typically, if I get one of these rush projects, I warn people of what they're asking upfront, and I typically charge a sizable markup.
#14
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 01:57 PM
However, sometimes, I won't care about the end result at all, and will just hack something ugly together quickly.
#15
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 02:09 PM
#16
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 03:15 PM
|
|

New Topic/Question
This topic is locked



MultiQuote














|