Click here to Skip to main content
15,888,454 members

Survey Results

What's the better way to code?

Survey period: 25 Jun 2018 to 2 Jul 2018

"Both" isn't an option, and "somewhere in between" is the easy answer. If you could only choose one which would it be?
OptionVotes% 
Ensure the code is as bug free as humanly possible then release59657.81
Ensure the code easy to debug and fix then release43542.19



 
GeneralRe: Should be asked instead... Pin
Kaladin26-Jun-18 6:16
Kaladin26-Jun-18 6:16 
GeneralRe: Should be asked instead... Pin
KBZX50002-Jul-18 0:01
KBZX50002-Jul-18 0:01 
GeneralRe: Should be asked instead... Pin
Kaladin2-Jul-18 5:15
Kaladin2-Jul-18 5:15 
GeneralThe "better" way? Pin
Mike (Prof. Chuck)24-Jun-18 23:18
professionalMike (Prof. Chuck)24-Jun-18 23:18 
GeneralRe: The "better" way? Pin
Nathan Minier25-Jun-18 1:19
professionalNathan Minier25-Jun-18 1:19 
GeneralRe: The "better" way? Pin
kmoorevs25-Jun-18 5:51
kmoorevs25-Jun-18 5:51 
GeneralRe: The "better" way? Pin
KBZX500025-Jun-18 21:30
KBZX500025-Jun-18 21:30 
GeneralA trick question? Pin
Jochen Arndt24-Jun-18 22:24
professionalJochen Arndt24-Jun-18 22:24 
How do you ensure that code is easy to debug?

The only methods that came to my mind are using intermediate variables, asserts, and trace outputs.

Intermediate variables make the source code larger with the chance to introduce new errors. The other two are also falling into the category "ensuring that code is bug free as possible".

So there is no choice for me.
GeneralRe: A trick question? Pin
Pete Lomax Member 1066450526-Jun-18 2:30
professionalPete Lomax Member 1066450526-Jun-18 2:30 
GeneralRe: A trick question? Pin
den2k8827-Jun-18 22:10
professionalden2k8827-Jun-18 22:10 
GeneralBoth are dependent on each other Pin
Hemant Singh Rautela24-Jun-18 21:13
professionalHemant Singh Rautela24-Jun-18 21:13 
GeneralSilly question Pin
Mehdi Gholam24-Jun-18 19:27
Mehdi Gholam24-Jun-18 19:27 
GeneralRe: Silly question Pin
Manish K. Agarwal24-Jun-18 20:24
Manish K. Agarwal24-Jun-18 20:24 
GeneralRe: Silly question Pin
Gary Wheeler25-Jun-18 7:00
Gary Wheeler25-Jun-18 7:00 

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.