I've heard from various sources that Microsoft recommends dropping Hungarian
notation for .NET development but am unable to explicitly find this
recommendation or their reasons for doing so. Does anyone know if it is
true... or merely urban myth? 15 1810 http://msdn.microsoft.com/library/en...guidelines.asp
"BillyTheKid" <nf*@nospam.com> wrote in message
news:uj**************@tk2msftngp13.phx.gbl... I've heard from various sources that Microsoft recommends dropping
Hungarian notation for .NET development but am unable to explicitly find this recommendation or their reasons for doing so. Does anyone know if it is true... or merely urban myth?
Billy,
Yes they have dropped it.
For the new recommendations see: http://msdn.microsoft.com/library/de...Guidelines.asp http://msdn.microsoft.com/library/de...Guidelines.asp
For private fields, I will use Hungarian on control names. Seeing as they
are private this doesn't really matter.
I don't have a reference to why, however it has been rehashed in the
microsoft.public.dotnet newsgroups enough that searching http://groups.google.com should turn up something.
Hope this helps
Jay
"BillyTheKid" <nf*@nospam.com> wrote in message
news:uj**************@tk2msftngp13.phx.gbl... I've heard from various sources that Microsoft recommends dropping
Hungarian notation for .NET development but am unable to explicitly find this recommendation or their reasons for doing so. Does anyone know if it is true... or merely urban myth?
I see that it isn't in there, but it is not explicity called out as to why.
Perhaps it would be helpful to the debate if Microsoft took a more
definitive stance and explained thier reasonong.
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Billy, Yes they have dropped it.
For the new recommendations see: http://msdn.microsoft.com/library/de...Guidelines.asp http://msdn.microsoft.com/library/de...Guidelines.asp For private fields, I will use Hungarian on control names. Seeing as they are private this doesn't really matter.
I don't have a reference to why, however it has been rehashed in the microsoft.public.dotnet newsgroups enough that searching http://groups.google.com should turn up something.
Hope this helps Jay
"BillyTheKid" <nf*@nospam.com> wrote in message news:uj**************@tk2msftngp13.phx.gbl... I've heard from various sources that Microsoft recommends dropping Hungarian notation for .NET development but am unable to explicitly find this recommendation or their reasons for doing so. Does anyone know if it is true... or merely urban myth?
Billy,
Like I said this has hashed & rehashed and turned upside down, sliced,
diced, purée, minced, mashed, ... Till the cows came home and got feed up
and left ;-)
If you need debate material, search the microsoft.public.dotnet newsgroups
at http://groups.google.com should turn up enough why.
There may actually be articles on MSDN as to the why, I just do not have
links handy. I get this vague idea that Dr Gui and or MSDN Magazine covered
the why on different occasions.
Hope this helps
Jay
"BillyTheKid" <nf*@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... I see that it isn't in there, but it is not explicity called out as to
why. Perhaps it would be helpful to the debate if Microsoft took a more definitive stance and explained thier reasonong.
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> wrote in
message news:%2****************@tk2msftngp13.phx.gbl... Billy, Yes they have dropped it.
For the new recommendations see: http://msdn.microsoft.com/library/de...Guidelines.asp http://msdn.microsoft.com/library/de...Guidelines.asp For private fields, I will use Hungarian on control names. Seeing as
they are private this doesn't really matter.
I don't have a reference to why, however it has been rehashed in the microsoft.public.dotnet newsgroups enough that searching http://groups.google.com should turn up something.
Hope this helps Jay
"BillyTheKid" <nf*@nospam.com> wrote in message news:uj**************@tk2msftngp13.phx.gbl... I've heard from various sources that Microsoft recommends dropping Hungarian notation for .NET development but am unable to explicitly find this recommendation or their reasons for doing so. Does anyone know if it
is true... or merely urban myth?
Yes, but it makes no sense to do so.
MSFT has added capabilities so you can see the data type, etc., but real
programmers know that it is often necessary to print out code and look at
the code away from a terminal.
-- http://www.standards.com/; See Howard Kaikow's web site.
"BillyTheKid" <nf*@nospam.com> wrote in message
news:uj**************@tk2msftngp13.phx.gbl... I've heard from various sources that Microsoft recommends dropping
Hungarian notation for .NET development but am unable to explicitly find this recommendation or their reasons for doing so. Does anyone know if it is true... or merely urban myth?
> MSFT has added capabilities so you can see the data type, etc., but real programmers know that it is often necessary to print out code and look at the code away from a terminal.
I'm surprised that you say that. I can't remember the last time I printed
out code for any reason, let alone to look at it away from the m/c.
Do people still do that?
Charles
"Howard Kaikow" <ka****@standards.com> wrote in message
news:Ox**************@TK2MSFTNGP12.phx.gbl... Yes, but it makes no sense to do so.
-- http://www.standards.com/; See Howard Kaikow's web site. "BillyTheKid" <nf*@nospam.com> wrote in message news:uj**************@tk2msftngp13.phx.gbl... I've heard from various sources that Microsoft recommends dropping Hungarian notation for .NET development but am unable to explicitly find this recommendation or their reasons for doing so. Does anyone know if it is true... or merely urban myth?
The real problem I have with it is that over time as the code needs to
change you might end up with a var name like intNumber actually being a long
type.
Changing var names is a pain...
Working with ones that have not been changed but need to be is even worse.
"Charles Law" <bl**@thingummy.com> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl... MSFT has added capabilities so you can see the data type, etc., but real programmers know that it is often necessary to print out code and look
at the code away from a terminal.
I'm surprised that you say that. I can't remember the last time I printed out code for any reason, let alone to look at it away from the m/c.
Do people still do that?
Charles
"Howard Kaikow" <ka****@standards.com> wrote in message news:Ox**************@TK2MSFTNGP12.phx.gbl... Yes, but it makes no sense to do so.
-- http://www.standards.com/; See Howard Kaikow's web site. "BillyTheKid" <nf*@nospam.com> wrote in message news:uj**************@tk2msftngp13.phx.gbl... I've heard from various sources that Microsoft recommends dropping Hungarian notation for .NET development but am unable to explicitly find this recommendation or their reasons for doing so. Does anyone know if it
is true... or merely urban myth?
Howard Kaikow <ka****@standards.com> wrote: Yes, but it makes no sense to do so.
MSFT has added capabilities so you can see the data type, etc., but real programmers know that it is often necessary to print out code and look at the code away from a terminal.
I agree with Charles on this - how often do you actually do that?
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
"Howard Kaikow" <ka****@standards.com> wrote in message
news:Ox**************@TK2MSFTNGP12.phx.gbl... Yes, but it makes no sense to do so.
MSFT has added capabilities so you can see the data type, etc., but real programmers know that it is often necessary to print out code and look at the code away from a terminal.
The last time since I remember commercial programming I have printed code
out only occasionally to grasp some complex algo (and hungarian would not
have helped there), And I have only printed larger parts ONCE - to but them
into a binder and present them to a customer as "offical code turnover
event".
I have never really considered looking at code outside of the IDE somethign
"real programmers" do.
--
Regards
Thomas Tomiczek
THONA Software & Consulting Ltd.
(Microsoft MVP C#/.NET)
Often.
-- http://www.standards.com/; See Howard Kaikow's web site.
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om... Howard Kaikow <ka****@standards.com> wrote: Yes, but it makes no sense to do so.
MSFT has added capabilities so you can see the data type, etc., but real programmers know that it is often necessary to print out code and look
at the code away from a terminal.
I agree with Charles on this - how often do you actually do that?
-- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
Howard Kaikow <ka****@standards.com> wrote: Often.
Why, out of interest? It does sound (given the other responses here) as
if you're in the minority here - and conventions can always be tweaked
if you're in special circumstances (such as being in a position where
you often need to do something that other people only do very rarely).
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
How are code reviews done then? Or, do "real programmers" not need them?
Bob Lehmann
"Thomas Tomicek [MVP]" <t.********@thona-consulting.com> wrote in message
news:OV**************@TK2MSFTNGP10.phx.gbl... "Howard Kaikow" <ka****@standards.com> wrote in message news:Ox**************@TK2MSFTNGP12.phx.gbl... Yes, but it makes no sense to do so.
MSFT has added capabilities so you can see the data type, etc., but real programmers know that it is often necessary to print out code and look
at the code away from a terminal.
The last time since I remember commercial programming I have printed code out only occasionally to grasp some complex algo (and hungarian would not have helped there), And I have only printed larger parts ONCE - to but
them into a binder and present them to a customer as "offical code turnover event".
I have never really considered looking at code outside of the IDE
somethign "real programmers" do.
-- Regards
Thomas Tomiczek THONA Software & Consulting Ltd. (Microsoft MVP C#/.NET)
What's wrong with performing them via an IDE? Quite a bit more convenient,
particularly wrt to tracking down dependencies, than printed code...
"Bob Lehmann" <none> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... How are code reviews done then? Or, do "real programmers" not need them?
Bob Lehmann
"Thomas Tomicek [MVP]" <t.********@thona-consulting.com> wrote in message news:OV**************@TK2MSFTNGP10.phx.gbl... "Howard Kaikow" <ka****@standards.com> wrote in message news:Ox**************@TK2MSFTNGP12.phx.gbl... Yes, but it makes no sense to do so.
MSFT has added capabilities so you can see the data type, etc., but
real programmers know that it is often necessary to print out code and
look at the code away from a terminal.
The last time since I remember commercial programming I have printed
code out only occasionally to grasp some complex algo (and hungarian would
not have helped there), And I have only printed larger parts ONCE - to but them into a binder and present them to a customer as "offical code turnover event".
I have never really considered looking at code outside of the IDE somethign "real programmers" do.
-- Regards
Thomas Tomiczek THONA Software & Consulting Ltd. (Microsoft MVP C#/.NET)
Are code reviews really necessary?
"Bob Lehmann" <none> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... How are code reviews done then? Or, do "real programmers" not need them?
Bob Lehmann
"Thomas Tomicek [MVP]" <t.********@thona-consulting.com> wrote in message news:OV**************@TK2MSFTNGP10.phx.gbl... "Howard Kaikow" <ka****@standards.com> wrote in message news:Ox**************@TK2MSFTNGP12.phx.gbl... Yes, but it makes no sense to do so.
MSFT has added capabilities so you can see the data type, etc., but
real programmers know that it is often necessary to print out code and
look at the code away from a terminal.
The last time since I remember commercial programming I have printed
code out only occasionally to grasp some complex algo (and hungarian would
not have helped there), And I have only printed larger parts ONCE - to but them into a binder and present them to a customer as "offical code turnover event".
I have never really considered looking at code outside of the IDE somethign "real programmers" do.
-- Regards
Thomas Tomiczek THONA Software & Consulting Ltd. (Microsoft MVP C#/.NET)
Billy,
Unless you are running a "Code Critic", yes!
How else do you enforce adherence to standards & maintain a certain
consistency in your teams code?
Also, I view code reviews as an opportunity for both the reviewer & the
developer to learn about new techniques.
Hope this helps
Jay
"BillyM" <nf*@nospam.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl... Are code reviews really necessary?
"Bob Lehmann" <none> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... How are code reviews done then? Or, do "real programmers" not need them?
Bob Lehmann
"Thomas Tomicek [MVP]" <t.********@thona-consulting.com> wrote in
message news:OV**************@TK2MSFTNGP10.phx.gbl... "Howard Kaikow" <ka****@standards.com> wrote in message news:Ox**************@TK2MSFTNGP12.phx.gbl... > Yes, but it makes no sense to do so. > > MSFT has added capabilities so you can see the data type, etc., but real > programmers know that it is often necessary to print out code and look at > the code away from a terminal.
The last time since I remember commercial programming I have printed code out only occasionally to grasp some complex algo (and hungarian would not have helped there), And I have only printed larger parts ONCE - to but
them into a binder and present them to a customer as "offical code turnover event".
I have never really considered looking at code outside of the IDE somethign "real programmers" do.
-- Regards
Thomas Tomiczek THONA Software & Consulting Ltd. (Microsoft MVP C#/.NET)
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Denny |
last post by:
For most of my variable names, I use Hungarian notation to determine between
one and the other. But what names can I use for public and private
variables? I was using prv_varName and pub_varName...
|
by: Phill |
last post by:
Does anyone know the reasoning for Microsoft abandoning Hungarina
Notation in C#?
I have found it very usefull in C++. I like this style:
constant: MY_CONSTANT
methos: myMethod()
class: ...
|
by: BillyTheKid |
last post by:
I've heard from various sources that Microsoft recommends dropping Hungarian
notation for .NET development but am unable to explicitly find this
recommendation or their reasons for doing so. Does...
|
by: Ronald S. Cook |
last post by:
An ongoing philosophical argument, I would like your opinions. With the
release of .NET, Microsoft spoke of moving away from the notation as a best
practice. I'm a believer for a few reasons:
...
|
by: darrel |
last post by:
I just discovered that MS recommends that we NOT use hungarian notation with
the .net framework:
http://msdn2.microsoft.com/en-us/library/ms229045.aspx
What are the real cons for using it?
...
|
by: Grey Squirrel |
last post by:
On wednesday my company will have an open ended discussion whether to
standardize hungarian notation or pascal/cammel case notation. We'd
love to recieve some feedback on what other people are...
|
by: Ronald S. Cook |
last post by:
I've been weaning myself off of Hungarian notation because that's what
Microsoft is telling me to do, and I want to be a good little MS developer.
But things keep coming up that make me miss my...
|
by: dom.k.black |
last post by:
I am looking at starting a new piece of work for a company who are
heavily into hungarian notation for C coding.
Any killer arguments for NOT carrying this terrible practice forward
into new C++...
|
by: inhahe |
last post by:
Does anybody know of a list for canonical prefixes to use for hungarian
notation in Python? Not that I plan to name all my variables with hungarian
notation, but just for when it's appropriate.
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |