Click here to Skip to main content
15,358,528 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: 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 
AnswerRe: Why the world hates Hungarian notation? Pin
RiskFactor5-Apr-12 11:32
MemberRiskFactor5-Apr-12 11:32 
I would put forward a couple of reasons that Hu notation is not needed and why I do not use it.
1) All the names I assign within my objects (properties, methods, fields, etc.) derive there name based on what the business owners call it in the real world if there is a corelation. As a developer I can only do my job well when I also understand the real world objects that my code represents. As such a new developer must obtain some level of this knowledge for the data types to be evident. The example of AccountNumber in above posts should be understood within the logical context of your system. If I call a variable accountNumber then likely I have some idea of what that account number is within the context of my system. Hu notation will not tell me anything more than the common business knowledge will. The reality is that if I name it strAccountNumber all I know is that it is a string of some length. I would not be able to know simply from the "str" if the business rules allow special characters, if the max length was 8 characters, etc.

2) Modern IDE's virtually remove the need for Hu notation. If the declaration of a variable is not in view and the data type is not apparent based on my knowledge of the business domain then (as a .NET developer) all I have to do is hover over the variable and the type is immediate shown thanks to intellisense.
GeneralRe: Why the world hates Hungarian notation? Pin
Gerry Schmitz6-Apr-12 14:37
mveGerry Schmitz6-Apr-12 14:37 
GeneralRe: Why the world hates Hungarian notation? Pin
john morrison leon9-Apr-12 4:06
Memberjohn morrison leon9-Apr-12 4:06 
GeneralRe: Why the world hates Hungarian notation? Pin
Stefan SeelandOld30-Apr-12 1:25
MemberStefan SeelandOld30-Apr-12 1:25 
GeneralRe: Why the world hates Hungarian notation? Pin
Eytukan2-May-12 21:44
MemberEytukan2-May-12 21:44 
JokeThis girl came up to me today ... PinPopular
Nagy Vilmos4-Apr-12 3:19
professionalNagy Vilmos4-Apr-12 3:19 
GeneralRe: This girl came up to me today ... Pin
Nish Nishant4-Apr-12 3:23
sitebuilderNish Nishant4-Apr-12 3:23 
GeneralRe: This girl came up to me today ... Pin
Henry Minute4-Apr-12 5:24
MemberHenry Minute4-Apr-12 5:24 
GeneralRe: This girl came up to me today ... Pin
Nish Nishant4-Apr-12 5:29
sitebuilderNish Nishant4-Apr-12 5:29 
GeneralRe: This girl came up to me today ... Pin
Nagy Vilmos4-Apr-12 5:42
professionalNagy Vilmos4-Apr-12 5:42 
GeneralRe: This girl came up to me today ... Pin
Henry Minute4-Apr-12 3:29
MemberHenry Minute4-Apr-12 3:29 
GeneralRe: This girl came up to me today ... Pin
Mike Hankey4-Apr-12 3:35
professionalMike Hankey4-Apr-12 3:35 
GeneralRe: This girl came up to me today ... Pin
Xiangyang Liu 刘向阳4-Apr-12 3:43
MemberXiangyang Liu 刘向阳4-Apr-12 3:43 
GeneralRe: This girl came up to me today ... Pin
Marc A. Brown4-Apr-12 5:09
MemberMarc A. Brown4-Apr-12 5:09 
GeneralRe: This girl came up to me today ... Pin
Gary Wheeler4-Apr-12 7:32
MemberGary Wheeler4-Apr-12 7:32 
GeneralI was thinking of getting one of those Nokia 900 Lumias Pin
Henry Minute4-Apr-12 3:18
MemberHenry Minute4-Apr-12 3:18 
GeneralRe: I was thinking of getting one of those Nokia 900 Lumias Pin
Mike Hankey4-Apr-12 3:36
professionalMike Hankey4-Apr-12 3:36 
GeneralI Love Naps Pin
GenJerDan4-Apr-12 3:17
MemberGenJerDan4-Apr-12 3: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.


Straw Poll

Do you take a development machine with you on holidays?
A laptop, a mini PC, a tablet that allows you to remote to a Virtual Desktop. There are options.
  Results   663 votes