Click here to Skip to main content
15,168,906 members

Survey Results

What’s better when coding: getting it done or doing it perfectly?

Survey period: 27 Jan 2020 to 3 Feb 2020

‘Perfect’ meaning following all the best practices with regards to coding standards, patterns, security, readability and maintainability

OptionVotes% 
Get it done as fast as possible. Time is money202.05
Get it done fast, but keep it sensible10310.55
It’s always a balance44045.08
Get it done right, but keep an eye on the hours31932.68
Do it right first time. Don’t worry so much about the time949.63



 
GeneralNone of the above Pin
Nathan Minier30-Jan-20 7:23
professionalNathan Minier30-Jan-20 7:23 
GeneralManagers claim they want sensible, but what they want is fast and somehow good Pin
honey the codewitch28-Jan-20 10:34
mvahoney the codewitch28-Jan-20 10:34 
GeneralRe: Managers claim they want sensible, but what they want is fast and somehow good Pin
cobaltsoft30-Jan-20 10:42
professionalcobaltsoft30-Jan-20 10:42 
GeneralRe: Managers claim they want sensible, but what they want is fast and somehow good Pin
honey the codewitch30-Jan-20 12:22
mvahoney the codewitch30-Jan-20 12:22 
GeneralBorrowing from da Vinci... Pin
Bruce Greene28-Jan-20 6:31
MemberBruce Greene28-Jan-20 6:31 
GeneralThen someone has to fix it later, using more hours Pin
MSBassSinger28-Jan-20 5:31
professionalMSBassSinger28-Jan-20 5:31 
Over the years, in several software shops, I have seen reams of crappy code done quickly. Sooner or later, problems crop up, and I (and others) have to fix them or add new functionality.

No comments, no good exception handling, no null checks - a total lack of engineering by some coder that thought he or she was hot stuff because they could church out crappy code that works when everything is perfect.

A good engineering practice is to create coding patterns as snippets that can be copied and pasted that add value over the life of the app. Things like:

- KISS (Keep It Simple, Self) - because you are not Stupid.
- Apply this concept to all you do: "The more they overtake the plumbing, the easier it is to stop up the drain."
- Intelligent logging that does not affect performance and can be dynamically turned on and off for various types of things to log.
- Comments that explain the "what" and "why" of the code, not the "how" (the code already shows the how)
- Variable and method/property names match what they are or do, respectively.
- Genericize and put in a shared library when possible.
- Write unit tests AFTER you write the code that tests real world conditions, and do NOT use mock data.
- Don't put everything on one line just because the "dots" let you.
- Avoid "using" when you can use try-catch-finally. That is what the compiler does with your "using", anyway, so why not make good use of it?
- If some person or article or company says "code this function this way", and you do not understand the why, how, and what, don't use it. Including my list. Smile | :)
- Use your brain, not Entity Framework.
GeneralRe: Then someone has to fix it later, using more hours Pin
Rob Philpott28-Jan-20 5:41
MemberRob Philpott28-Jan-20 5:41 
GeneralRe: Then someone has to fix it later, using more hours Pin
MSBassSinger28-Jan-20 6:46
professionalMSBassSinger28-Jan-20 6:46 
GeneralRe: Then someone has to fix it later, using more hours Pin
Rick Shaub28-Jan-20 11:58
MemberRick Shaub28-Jan-20 11:58 
GeneralRe: Then someone has to fix it later, using more hours Pin
hpcoder231-Jan-20 14:13
Memberhpcoder231-Jan-20 14:13 
GeneralThe only sensible answer Pin
Gary Wheeler28-Jan-20 3:23
MemberGary Wheeler28-Jan-20 3:23 
GeneralRe: The only sensible answer Pin
Slow Eddie28-Jan-20 3:56
professionalSlow Eddie28-Jan-20 3:56 
GeneralRe: The only sensible answer Pin
Gary Wheeler28-Jan-20 4:04
MemberGary Wheeler28-Jan-20 4:04 
GeneralRe: The only sensible answer Pin
Rick Shaub28-Jan-20 12:04
MemberRick Shaub28-Jan-20 12:04 
GeneralRe: The only sensible answer Pin
Gary Wheeler28-Jan-20 12:42
MemberGary Wheeler28-Jan-20 12:42 
GeneralRe: The only sensible answer Pin
Rick Shaub28-Jan-20 12:52
MemberRick Shaub28-Jan-20 12:52 
GeneralRe: The only sensible answer Pin
Rob Philpott28-Jan-20 5:00
MemberRob Philpott28-Jan-20 5:00 
GeneralRe: The only sensible answer Pin
Gary Wheeler28-Jan-20 5:21
MemberGary Wheeler28-Jan-20 5:21 
GeneralPerfection vs Overengineering Pin
Anonymee28-Jan-20 3:21
professionalAnonymee28-Jan-20 3:21 
GeneralA man would do nothing ... Pin
Amarnath S28-Jan-20 0:35
professionalAmarnath S28-Jan-20 0:35 
GeneralIt's a mix of course Pin
Dean Roddey27-Jan-20 16:28
MemberDean Roddey27-Jan-20 16:28 
GeneralDo it right. Pin
OriginalGriff27-Jan-20 11:52
mveOriginalGriff27-Jan-20 11:52 
GeneralRe: Do it right. Pin
agolddog28-Jan-20 3:50
Memberagolddog28-Jan-20 3:50 
GeneralPerfection is the enemy of "good enough" Pin
Christopher Woodruff27-Jan-20 10:26
MemberChristopher Woodruff27-Jan-20 10:26 
GeneralRe: Perfection is the enemy of "good enough" Pin
Tom Corbett Space Cadet28-Jan-20 5:59
professionalTom Corbett Space Cadet28-Jan-20 5:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.