Click here to Skip to main content
15,914,444 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
Sander Rossel19-Nov-19 5:37
professionalSander Rossel19-Nov-19 5:37 
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 
Sander Rossel wrote:
C#
public class someClass
{
    Int32 _someVariable;
    int AnotherVariable;
    Point Some_Point;
    private string privateVariable;
}

class AnotherClass
{
}
I wish I was joking or overreacting, but that's what I got.
We have inconsistency in PascalCase, camelCase, underscores, access modifiers and even the class names for built-in types like int.

For a moment I was wondering what was the problem here.. and then you explain. it is indeed funny looking...
I have to say it doesn't bother me much though... unless it's camel casing on public members.. which jump to my eyes as ugly... I just tend to refactor them without warning....

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

In fact it's a sign of the following phenomena:
- developer 1 write code
- developer 2 fix code without understanding what's going, by adding a new layer on top and leave many things untouched...
- repeat
- building block complexity and frailty grow over revision, instead of simplifying and consolidating

if there was an argument to be made, it's not so much about style, but that developer don't take ownership of the code they change and don't take time to understand it well either.

And I am afraid that enforcing style will only enforce the illusion that the code is well maintained, as opposed to it be really well maintained in practice.... In fact no style enforcement might help you discover code that has been poorly maintained! Blush | :O Mind blown! Blush | :O
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 19-Nov-19 12:10pm.

GeneralRe: Code analysis Pin
Sander Rossel19-Nov-19 8:43
professionalSander Rossel19-Nov-19 8:43 
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 

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.