Click here to Skip to main content
15,886,664 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 
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 
What is the other option?
Fixing warnings by static analysis tools or the compiler has nothing to do with beautiful coding. It may involve standard compliance issues, which I always consider important. Errors will probably result in compiler errors, so those are a valid issue.

Always pay attention to [compiler] warnings, because you need to know why they were generated in the first place. Some of the warnings refer to legal code that does exactly what you want it to do, but does not fit best practices. Others are just BS - Example: The old 255 character limit on template parameters warning (MS VC/c++); this has nothing to do with whether the code is valid.

I once spent a great deal of time trying to eliminate some BS warnings, at the point of occurrence; only to learn that the IDE (whatever) had a flaw (bug) that would ignore my attempt to suppress the warning. Therefore, suppress (or comment in the code) any expected warnings at the location where they occur (compiler dependent) if you know the exact reason for the warning; otherwise any good programmer will be wasting their time looking at it. Never assume a warning is not valid.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence." - Edsger Dijkstra
"I have never been lost, but I will admit to being confused for several weeks. " - Daniel Boone

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.