Hungarian Notation : Java Glossary


Hungarian Notation
A way of naming your variables so that you embed type information on them. The problem with the scheme is that nothing checks that the types are correct. Over time they usually get out of whack. For example lpString would be a long pointer to a C++ String. When code in migrated to a flat address space, nobody bothers to rename it to pString. The other problem is using the letter w in names to mean word. Word can mean anything from 16 to 64 bits depending on platform. It is probably better to use SCID-like tools that let you discover the type of any variable with a click of the mouse. That way you can be sure it is accurate.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number