4 ms·
Can you give an example(or a link to an article discussing this)? I've never had the displeasure of working with the Windows API(though I often shook my head wh
by oh_sigh 14y ago
Can you give an example(or a link to an article discussing this)? I've never had the displeasure of working with the Windows API(though I often shook my head when I saw code for it)
- sriramk 14y agoBasically he intended 'type' as not 'datatype' as in 'dwSomething' (for double word) but the purpose of the variable. For example, if you're using an integer variable to store the length of some entity, you would name it something like 'lenSomething' as opposed to 'dwSomething'. Storing the type of the variable makes little sense as in most cases it is only a quick grep away.
- flogic 14y agoIn the example you used, "context" seems to be a more appropriate word than "type".
- akldfgj 14y ago/bites tongue, and provides links: http://en.wikipedia.org/wiki/Hungarian_notation#Systems_vs._Apps_Hungarian http://en.wikipedia.org/wiki/Hungarian_notation#Systems_vs._... https://www.google.com/search?q=hungarian+notation https://www.google.com/search?q=hungarian+notation
- sriramk 14y agoThat Wikipedia page does such a better job of describing it than I did.
- tedunangst 14y agohttp://www.joelonsoftware.com/articles/Wrong.html http://www.joelonsoftware.com/articles/Wrong.html You have to read a bit, hungarian notation doesn't really show up until maybe 4/5 of the way through.