Click here to Skip to main content
15,879,613 members

Survey Results

Do you feel pressure to make your code look as good as code posted by experts?

Survey period: 24 Feb 2020 to 2 Mar 2020

Do you see really well written code and think "I should write code that good"?

OptionVotes% 
I put pressure on myself to write the best code I can29836.12
Yes, I feel pressure to write code that's as good as what you see online698.36
Sometimes, maybe, depends on the situation16419.88
No, not really20624.97
My code is already better than anything I see online8810.67



 
GeneralI reject the premise of the question Pin
PIEBALDconsult28-Feb-20 15:26
mvePIEBALDconsult28-Feb-20 15:26 
GeneralDo you feel pressure to make good polls? Pin
Marbry Hardin28-Feb-20 8:23
Marbry Hardin28-Feb-20 8:23 
GeneralPosting code online makes me an expert? Pin
GKP199227-Feb-20 18:18
professionalGKP199227-Feb-20 18:18 
GeneralMost of the code I see online isn't that good Pin
Dominic Burford26-Feb-20 4:22
professionalDominic Burford26-Feb-20 4:22 
GeneralRe: Most of the code I see online isn't that good Pin
John R. Shaw26-Feb-20 21:03
John R. Shaw26-Feb-20 21:03 
GeneralOptions aren't mutually exclusive Pin
agolddog25-Feb-20 10:01
agolddog25-Feb-20 10:01 
GeneralRe: Options aren't mutually exclusive Pin
John R. Shaw26-Feb-20 22:28
John R. Shaw26-Feb-20 22:28 
GeneralPsychopath Pin
BryanFazekas25-Feb-20 7:16
BryanFazekas25-Feb-20 7:16 
GeneralRe: Psychopath Pin
John R. Shaw26-Feb-20 21:01
John R. Shaw26-Feb-20 21:01 
GeneralFashions Pin
kalberts24-Feb-20 23:08
kalberts24-Feb-20 23:08 
I've been in the game long enough to have seen a long chain of coding styles defining "good" code. Those rules that are not contradicted by some other set of rules for "good" code are usually so obvious that you rarely think of it as a "rule".

What matters more than code is the system architecture and design. That is not stressed very much at all! I rarely see software that comes with an overall description of the modular structure, functional descriptions of the internal and external interfaces etc. Seeing how the source files are put into different directory branches is not documentation of the system architure and design! A header file is not a functional description of an interface - not even with a three line comment blurb per function.

When code is written according to a reasonably conisistent set of coding rules, formatted by a prettyprinter and verified by a high quality static analyzer, then the difference between code and code is minor. Fashions vary more than coders going by the same fashions. The real differences lie in architecture and design, not in coding.
GeneralRe: Fashions Pin
John R. Shaw25-Feb-20 0:57
John R. Shaw25-Feb-20 0:57 
GeneralRe: Fashions Pin
kalberts25-Feb-20 3:35
kalberts25-Feb-20 3:35 
GeneralRe: Fashions Pin
John R. Shaw26-Feb-20 4:09
John R. Shaw26-Feb-20 4:09 
GeneralRe: Fashions Pin
kalberts26-Feb-20 5:16
kalberts26-Feb-20 5:16 
GeneralRe: Fashions Pin
John R. Shaw26-Feb-20 20:40
John R. Shaw26-Feb-20 20:40 
GeneralNot at all Pin
super24-Feb-20 21:58
professionalsuper24-Feb-20 21:58 
GeneralRe: Not at all Pin
John R. Shaw26-Feb-20 21:23
John R. Shaw26-Feb-20 21:23 
GeneralOne more option Pin
Amarnath S24-Feb-20 17:36
professionalAmarnath S24-Feb-20 17:36 
GeneralRe: One more option Pin
John R. Shaw26-Feb-20 21:55
John R. Shaw26-Feb-20 21:55 
GeneralExperts? Pin
Rick York24-Feb-20 10:01
mveRick York24-Feb-20 10:01 
GeneralRe: Experts? Pin
John R. Shaw25-Feb-20 0:30
John R. Shaw25-Feb-20 0:30 
GeneralRe: Experts? Pin
Slacker00725-Feb-20 4:32
professionalSlacker00725-Feb-20 4:32 
GeneralRe: Experts? Pin
maze325-Feb-20 2:34
professionalmaze325-Feb-20 2:34 
GeneralRe: Experts? Pin
Nelek25-Feb-20 9:05
protectorNelek25-Feb-20 9:05 
GeneralIf I'm my own expert... Pin
Marc Clifton24-Feb-20 3:27
mvaMarc Clifton24-Feb-20 3:27 

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.