Click here to Skip to main content
15,914,419 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Code analysis Pin
obermd20-Nov-19 4:02
obermd20-Nov-19 4:02 
GeneralRe: Code analysis Pin
Super Lloyd20-Nov-19 11:25
Super Lloyd20-Nov-19 11:25 
GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 2:56
CodeWraith19-Nov-19 2:56 
JokeRe: Code analysis Pin
lopatir19-Nov-19 4:09
lopatir19-Nov-19 4:09 
GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 4:22
CodeWraith19-Nov-19 4:22 
GeneralRe: Code analysis Pin
Sander Rossel19-Nov-19 5:33
professionalSander Rossel19-Nov-19 5:33 
GeneralRe: Code analysis Pin
Super Lloyd19-Nov-19 5:58
Super Lloyd19-Nov-19 5:58 
GeneralRe: Code analysis Pin
Sander Rossel19-Nov-19 8:43
professionalSander Rossel19-Nov-19 8:43 
Super Lloyd wrote:
In fact no style enforcement might help you discover code that has been poorly maintained! Blush | :O Mind blown! Blush | :O
I'm glad we agree on that Laugh | :laugh:
Super Lloyd wrote:
even the useless private modifier on implicitly private field (or lack of it on the others, if it's your thing), I can just ignore gleefully! Poke tongue | ;-P
I guess I'm a bit OCD to just ignore that!
And for the record, I add access modifiers on everything.
I once had a discussion with someone who said those were all wasted keystrokes so I asked him, "alright, so what's the default modifier on this class?"
He thought it was public and he didn't believe it was internal until I showed him.
Needless to say, I won the argument Laugh | :laugh:

That code from the example I had to work with was really crappy.
The styling is bad, but ultimately, it was least of my problems.
SQL Server connections and business logic directly in WinForms, sort of half-binding, but also directly reading and setting values in controls, that kind of stuff.
Fixing the styling so it was at least somewhat consistent did a lot.
The code is still crap, but at least I'm not worrying over camelCased variables that might be public, because I've made them private or I've PascalCased them.
Style can never make up for lack of skill.
But as a skilled developer, I prefer to have both Cool | :cool:

GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 6:54
CodeWraith19-Nov-19 6:54 
GeneralRe: Code analysis Pin
Sander Rossel19-Nov-19 8:33
professionalSander Rossel19-Nov-19 8:33 
GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 9:31
CodeWraith19-Nov-19 9:31 
GeneralRe: Code analysis Pin
AFell219-Nov-19 5:42
AFell219-Nov-19 5:42 
GeneralRe: Code analysis Pin
lopatir19-Nov-19 4:19
lopatir19-Nov-19 4:19 
GeneralRe: Code analysis Pin
Sander Rossel19-Nov-19 8:46
professionalSander Rossel19-Nov-19 8:46 
GeneralRe: Code analysis Pin
User 1106097919-Nov-19 7:09
User 1106097919-Nov-19 7:09 
GeneralRe: Code analysis Pin
Sander Rossel19-Nov-19 8:46
professionalSander Rossel19-Nov-19 8:46 
GeneralRe: Code analysis - STYLE Pin
Semorád Jan20-Nov-19 23:53
Semorád Jan20-Nov-19 23:53 
GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 3:35
CodeWraith19-Nov-19 3:35 
GeneralRe: Code analysis Pin
Eddy Vluggen19-Nov-19 14:57
professionalEddy Vluggen19-Nov-19 14:57 
GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 21:13
CodeWraith19-Nov-19 21:13 
GeneralRe: Code analysis Pin
Marc Clifton19-Nov-19 4:34
mvaMarc Clifton19-Nov-19 4:34 
GeneralRe: Code analysis Pin
Super Lloyd19-Nov-19 5:47
Super Lloyd19-Nov-19 5:47 
GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 5:31
CodeWraith19-Nov-19 5:31 
GeneralRe: Code analysis Pin
Super Lloyd19-Nov-19 5:50
Super Lloyd19-Nov-19 5:50 
GeneralRe: Code analysis Pin
CodeWraith19-Nov-19 8:17
CodeWraith19-Nov-19 8:17 

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.