Thread View: comp.os.ms-windows.programmer.tools
3 messages
3 total messages
Started by Sarir Khamsi
Tue, 22 Dec 1992 13:26
Use of Hungarian notation
Author: Sarir Khamsi
Date: Tue, 22 Dec 1992 13:26
Date: Tue, 22 Dec 1992 13:26
11 lines
771 bytes
771 bytes
Yo, I have just started programming in Windows and was wondering if there was anyone out there who knows if Hungarian notation for variables is widely used or recomended. Thanks in adance. -- Sarir (Riri) Khamsi - khamsi@ll.mit.edu MIT Lincoln Laboratoy 244 Wood St. Lexington, MA 02173 USA
Re: Use of Hungarian notation
Author: Steven Wayne Hall
Date: Tue, 22 Dec 1992 16:59
Date: Tue, 22 Dec 1992 16:59
13 lines
1313 bytes
1313 bytes
I too was wondering about this. I Charles Petzolds' book, he describes the Hungarian
Notation and it's meanings. TO get a job at Microsoft, is knowledge of this required?
How many comapanies have adopted this notation, and why has noone in the UNIX world
adopted these ideas??
---
+================================================================+
| /* Steven W. Hall */ | A theory can be proved by experiment; |
| Computer Engineering | but no path leads from experiment to |
| Auburn University, AL | the birth of a theory. |
| | |
|swhall@eng.auburn.edu | Albert Einstein (1879-1955) |
+================================================================+
Re: Use of Hungarian notation
Author: Rob Ryan
Date: Tue, 22 Dec 1992 19:45
Date: Tue, 22 Dec 1992 19:45
20 lines
1232 bytes
1232 bytes
In <9212220826.PN09838@LL.MIT.EDU> khamsi@ll.mit.edu (Sarir Khamsi) writes:
>I have just started programming in Windows and was wondering if there
>was anyone out there who knows if Hungarian notation for variables is
>widely used or recomended. Thanks in adance.
It is pretty widely used (in C/C++ anyway) and is definitely
recommended. It makes code much more readable. There are often
variations from programmer to programmer, but the biggies "sz", "n",
"f", "hwnd", etc. are pretty consistent and make it infinitely easier
to (a) allow someone else to read and understand your code; and (b)
allow you to understand your code having been away from it for a
while.
Definitely use Hungarian naming. It takes so little effort and makes
your code much more readable.
--
Rob Ryan
rryan@panix.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads