Thread View: alt.folklore.computers
1 messages
1 total messages
Started by KPUR...
Tue, 11 Sep 1990 16:47
Hungarian Notation
Author: KPUR...
Date: Tue, 11 Sep 1990 16:47
Date: Tue, 11 Sep 1990 16:47
35 lines
1647 bytes
1647 bytes
I first came across this in the 'Programmers at Work' book put out by Microsoft Press. It was a notation that by working from a set of rules enabled programmers to independently come up with the same identifier names. The names were almost unpronoucable (and as the inventor was a Hungarian, hence the notation's name and he also worked for Microsoft). I also remember reading a letter in CACM refering to this technique. This gave me a little more detail. The idea was something like the following: p = pointer to i = integer c = character v = vector fcb = file control block The first argument in a routine would have the number 1, second 2, etc. There were some extra rules that I forget. But this would give stuff like: int *pi; char cv[10]; FILE *pfcb1, *pfcb2; Anybody got a complete set of rules they used to generate the names? What other conventions did you use? Did it work in the workplace? Do they still use it at Microsoft? Does this account for the MS Word command keys layout? :-) If you have any info, post it then we all get the benefit! Kevin Purcell | kpur...@liverpool.ac.uk Surface Science Centre | Liverpool University | Omit needless words.
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