29 Replies - 3824 Views - Last Post: 31 March 2011 - 02:36 AM
#16
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 03:42 PM
But most of the time I even start on paper before I code. That way when I sit down at the computer my thoughts don't get disorganized and confused by the editor in front of me.
Clean efficient code...FTW!
I am guilty for messy code sometimes, but those are usually my own projects, and I just want to see it in action and then clean it up.
But most of the time I even start on paper before I code. That way when I sit down at the computer my thoughts don't get disorganized and confused by the editor in front of me.
Clean efficient code...FTW!
#17
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 04:28 PM
#18
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 05:57 PM
SixOfEleven, on 8 Jan, 2010 - 04:09 PM, said:
I'd suggest this has nothing to do with programming, but a work ethic in general. Developers have no more a responsibility to write good code than painters have to paint well. The vocation does not define one's approach to quality...one's internal motivations do. If you have that drive inside that pushes you to do the best job possible, it does not matter if you are a programmer, project manager, or busboy. Quality will win out.
#19
Re: Write good code or get the job done fast?
Posted 08 January 2010 - 08:47 PM
To my knowledge I have never produced BAD code... but I have been very disappointed with having to make do with rushed code.
As an example, on one project I was working on we had a "new requirement" that for contractual purposes was not new (it was always in the spec. but exactly HOW it was to be implemented was not) -- we asked for a weekend to better refactor our code to fit the new requirement -- we were denied and reminded that if we missed the deadline there were penalties. So we made it work as-is but the solution was ugly. In the end it turned out that there would have been nothing lost by giving us the time (turns out all of the teams needed extra time to integrate these changes) -- but some blow-hard PM was just so sure that pushing the project schedule was their job.
Basically -- I don't have a great deal of control over the deadlines. So generally if I CAN meet a deadline, then I generally have to... The thinking is that if something goes wrong later we can write and "update". The get-it-done-now-fix-it-later mentality.
This is why I like working with a good PM -- good PMs listen, sure they push back sometimes, but they listen and when developers ask for a weekend they make it happen.
#20
Re: Write good code or get the job done fast?
Posted 09 January 2010 - 05:44 PM
#21
Re: Write good code or get the job done fast?
Posted 09 January 2010 - 06:26 PM
#22
Re: Write good code or get the job done fast?
Posted 09 January 2010 - 06:59 PM
But I imagine in the working - world it's no different, it's important to create good code that will work and is able to be modified, used and understood easily. I mean what would happen if a defense contractor rushed code for something that can be dangerous if it malfunctions, or Microsoft with Windows, or thousands of other electronics we use on a daily basis? We'd have a lot of unhappy people in the long run.
#23
Re: Write good code or get the job done fast?
Posted 09 January 2010 - 07:04 PM
Delta_Echo, on 9 Jan, 2010 - 06:44 PM, said:
For things like bash scripting, sure, but for languages like Python, whiting good code is what it's for! I also heard that Ruby is another language similar that also demands for well written code.
#24
Re: Write good code or get the job done fast?
Posted 09 January 2010 - 09:31 PM
Edit: Here's a link.
This post has been edited by Programmist: 09 January 2010 - 09:32 PM
#25
Re: Write good code or get the job done fast?
Posted 10 January 2010 - 01:44 PM
#26
Re: Write good code or get the job done fast?
Posted 10 January 2010 - 03:00 PM
#27
Re: Write good code or get the job done fast?
Posted 10 January 2010 - 08:42 PM
With my own major project, I like to take my time and make sure that it'll work, even before I compile.
I agree that there are uses for quick and dirty code, and that it's sometimes required if you have a time crunch, but I frown upon it.
@Astraeus: It's called Vista. (xD)
#28
Re: Write good code or get the job done fast?
Posted 11 January 2010 - 01:14 PM
Get the code working first, and don't forget to comment; then go back to optimize.
This is significantly easier when the program is encapsulated, and optimization will go by much faster.
#29
Re: Write good code or get the job done fast?
Posted 12 January 2010 - 11:31 AM
#30
Re: Write good code or get the job done fast?
Posted 31 March 2011 - 02:36 AM
|
|

New Topic/Question
This topic is locked




MultiQuote













|