Click here to Skip to main content
15,899,026 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
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 
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 
Member 10664505 wrote:
integer slack_space = <cryptic expression>?3:4;

adds significant meaning and intent (compared to an anonymous inline version and assuming "slack_space" is well chosen), reduces the mental workload when the code is revisited, and certainly adds less chance of introducing errors than typing in the same expression twice or more.
I concur completely, also it makes it easier to debug/update expressions and if the same expression might be used more than once it makes it faster too (and in certain scenarios performance are functionality).
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X

GeneralBoth are dependent on each other PinPopular
Hemant Singh Rautela24-Jun-18 21:13
professionalHemant Singh Rautela24-Jun-18 21:13 
GeneralSilly question PinPopular
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.