Click here to Skip to main content
15,885,546 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 6:23
professionalNathan Minier30-Jan-20 6:23 
GeneralManagers claim they want sensible, but what they want is fast and somehow good Pin
honey the codewitch28-Jan-20 9:34
mvahoney the codewitch28-Jan-20 9:34 
GeneralRe: Managers claim they want sensible, but what they want is fast and somehow good Pin
cobaltsoft30-Jan-20 9:42
professionalcobaltsoft30-Jan-20 9:42 
GeneralRe: Managers claim they want sensible, but what they want is fast and somehow good Pin
honey the codewitch30-Jan-20 11:22
mvahoney the codewitch30-Jan-20 11:22 
GeneralBorrowing from da Vinci... Pin
Bruce Greene28-Jan-20 5:31
Bruce Greene28-Jan-20 5:31 
GeneralThen someone has to fix it later, using more hours Pin
MSBassSinger28-Jan-20 4:31
professionalMSBassSinger28-Jan-20 4: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 4:41
Rob Philpott28-Jan-20 4:41 
GeneralRe: Then someone has to fix it later, using more hours Pin
MSBassSinger28-Jan-20 5:46
professionalMSBassSinger28-Jan-20 5:46 
GeneralRe: Then someone has to fix it later, using more hours Pin
Rick Shaub28-Jan-20 10:58
Rick Shaub28-Jan-20 10:58 
GeneralRe: Then someone has to fix it later, using more hours Pin
hpcoder231-Jan-20 13:13
hpcoder231-Jan-20 13:13 
GeneralThe only sensible answer Pin
Gary Wheeler28-Jan-20 2:23
Gary Wheeler28-Jan-20 2:23 
GeneralRe: The only sensible answer Pin
Slow Eddie28-Jan-20 2:56
professionalSlow Eddie28-Jan-20 2:56 
GeneralRe: The only sensible answer Pin
Gary Wheeler28-Jan-20 3:04
Gary Wheeler28-Jan-20 3:04 
GeneralRe: The only sensible answer Pin
Rick Shaub28-Jan-20 11:04
Rick Shaub28-Jan-20 11:04 
GeneralRe: The only sensible answer Pin
Gary Wheeler28-Jan-20 11:42
Gary Wheeler28-Jan-20 11:42 
GeneralRe: The only sensible answer Pin
Rick Shaub28-Jan-20 11:52
Rick Shaub28-Jan-20 11:52 
GeneralRe: The only sensible answer Pin
Rob Philpott28-Jan-20 4:00
Rob Philpott28-Jan-20 4:00 
GeneralRe: The only sensible answer Pin
Gary Wheeler28-Jan-20 4:21
Gary Wheeler28-Jan-20 4:21 
GeneralPerfection vs Overengineering Pin
Anonymee28-Jan-20 2:21
professionalAnonymee28-Jan-20 2:21 
GeneralA man would do nothing ... Pin
Amarnath S27-Jan-20 23:35
professionalAmarnath S27-Jan-20 23:35 
GeneralIt's a mix of course Pin
Dean Roddey27-Jan-20 15:28
Dean Roddey27-Jan-20 15:28 
GeneralDo it right. Pin
OriginalGriff27-Jan-20 10:52
mveOriginalGriff27-Jan-20 10:52 
GeneralRe: Do it right. Pin
agolddog28-Jan-20 2:50
agolddog28-Jan-20 2:50 
GeneralPerfection is the enemy of "good enough" Pin
Christopher Woodruff27-Jan-20 9:26
Christopher Woodruff27-Jan-20 9:26 
GeneralRe: Perfection is the enemy of "good enough" Pin
Tom Corbett Space Cadet28-Jan-20 4:59
professionalTom Corbett Space Cadet28-Jan-20 4: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.