Click here to Skip to main content
15,347,685 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.

 
QuestionWhy do you need to know the type? Pin
Thomas Eyde5-Apr-12 1:41
MemberThomas Eyde5-Apr-12 1:41 
AnswerRe: Why do you need to know the type? Pin
David Roh5-Apr-12 2:18
MemberDavid Roh5-Apr-12 2:18 
GeneralRe: Why do you need to know the type? Pin
jschell5-Apr-12 9:16
Memberjschell5-Apr-12 9:16 
GeneralRe: Why do you need to know the type? Pin
David Roh5-Apr-12 9:27
MemberDavid Roh5-Apr-12 9:27 
GeneralRe: Why do you need to know the type? Pin
jschell7-Apr-12 6:22
Memberjschell7-Apr-12 6:22 
GeneralRe: Why the world hates Hungarian notation? Pin
David Roh5-Apr-12 2:06
MemberDavid Roh5-Apr-12 2:06 
GeneralRe: Why the world hates Hungarian notation? Pin
TheGreatAndPowerfulOz5-Apr-12 5:18
MemberTheGreatAndPowerfulOz5-Apr-12 5:18 
GeneralRe: Why the world hates Hungarian notation? Pin
jschell5-Apr-12 9:40
Memberjschell5-Apr-12 9:40 
David Roh wrote:
Different devs have their own view on how to write code; however, I believe that
it's better to have a good logical reason for a belief rather than just a
prejudice.
 


Devs come up with all sorts of ways to rationalize that their personal subjective preferences are objectively better.

David Roh wrote:
Saying that Intellisense will solve the problem or that we can mouse over a
variable is not a solution because when we read code and think we understand, we
rarely mouse over or use Intellisense on what we think we already
understand.


In my experience, I can't recall ever seeing a single bug traced to a misunderstanding of the type.

On the other hand there are vast other categories of bugs that show up over and over again and which cost businesses real money to find and fix.

So given your stict approach to just variable naming could you provide some detail as to what other process practices you mandate to insure that real and costly errors which impact development efforts do not show up as well?

David Roh wrote:
...but I find it difficult to believe that any professional dev


You must really work in some different domains than I do. In the sectors that I work am I am just happy to come across code (like whole methods and classes) that are easily understood from a functional point of view. Too often I come across code with problems like the following.
- Code that was obviously never tested fully
- Code that was never even used.
- Code that was not even appropriate for the business (no known use ever.)
- Code that does absolutely no error checking.
- Code that is so convoluted and has such a high coupling that it scares me just to look at it. And of course there is no unit tests for such code.
GeneralRe: Why the world hates Hungarian notation? Pin
MehGerbil5-Apr-12 2:18
MemberMehGerbil5-Apr-12 2:18 
GeneralRe: Why the world hates Hungarian notation? Pin
MSBassSinger5-Apr-12 5:44
professionalMSBassSinger5-Apr-12 5:44 
GeneralRe: Why the world hates Hungarian notation? Pin
MehGerbil5-Apr-12 5:49
MemberMehGerbil5-Apr-12 5:49 
GeneralRe: Why the world hates Hungarian notation? Pin
MSBassSinger5-Apr-12 5:53
professionalMSBassSinger5-Apr-12 5:53 
GeneralRe: Why the world hates Hungarian notation? Pin
Fran Porretto5-Apr-12 2:55
MemberFran Porretto5-Apr-12 2:55 
GeneralRe: Why the world hates Hungarian notation? Pin
ferahl5-Apr-12 3:29
Memberferahl5-Apr-12 3:29 
GeneralRe: Why the world hates Hungarian notation? Pin
Fabio Franco5-Apr-12 4:39
professionalFabio Franco5-Apr-12 4:39 
GeneralRe: Why the world hates Hungarian notation? Pin
Stuart Rubin5-Apr-12 4:49
MemberStuart Rubin5-Apr-12 4:49 
GeneralRe: Why the world hates Hungarian notation? Pin
BinaryReason5-Apr-12 4:56
MemberBinaryReason5-Apr-12 4:56 
QuestionRe: Why the world hates Hungarian notation? Pin
MSBassSinger5-Apr-12 5:17
professionalMSBassSinger5-Apr-12 5:17 
GeneralRe: Why the world hates Hungarian notation? Pin
SeattleC++5-Apr-12 6:00
MemberSeattleC++5-Apr-12 6:00 
GeneralRe: Why the world hates Hungarian notation? Pin
Member 37636085-Apr-12 6:58
MemberMember 37636085-Apr-12 6:58 
GeneralRe: Why the world hates Hungarian notation? - Data Dictionary Pin
Toyist5-Apr-12 7:02
MemberToyist5-Apr-12 7:02 
GeneralRe: Why the world hates Hungarian notation? Pin
Mark Johnston (SSCGP)5-Apr-12 7:30
MemberMark Johnston (SSCGP)5-Apr-12 7:30 
GeneralRe: Why the world hates Hungarian notation? Pin
we785-Apr-12 7:56
Memberwe785-Apr-12 7:56 
GeneralRe: Why the world hates Hungarian notation? Pin
jschell5-Apr-12 9:15
Memberjschell5-Apr-12 9:15 
GeneralRe: Why the world hates Hungarian notation? Pin
Ed Hastings5-Apr-12 9:36
MemberEd Hastings5-Apr-12 9:36 

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.


Straw Poll

You discover a sentient AI in your org's system. What do you do?
Well you never know what sort of orphaned projects previous employees have left behind...
  Results   600 votes