Click here to Skip to main content
15,890,609 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 
"The best code I can" may or may not be "better than what I see online" (for example).

"Best" varies with timelines, how bright I am at that point in time, how well defined the project is, etc, etc. Also does "best" mean "most technically advanced," which is overkill for a lot of business needs, or "what best fits this situation"?

I try to write the most understandable, well-documented, and easy-to-refactor code I can at that particular time, given any limitations like time. I think that's all anyone can ask.

Invariably, you'll look back at code you wrote X time ago and think it's a pile of crap, because you've learned new things, have new perspectives, new requirements have come to light, and so on.

So, try to do today's best, but don't be afraid to refactor in the future. If your code has decent separation of concerns, refactoring shouldn't be a huge deal.

Of course, it usually is. Sigh.
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 
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.