Sunday, August 14, 2016

Hungarian Notation


This tip is useful in a number of applications.

When you name an object, include a prefix that identifies the type of object.

When naming a table for Customers, use "tblCustomers" .
You could also have a form for customers. It would be "frmCustomers" .

It's called Hungarian notation because with the prefix, it does not look like an English word.

Dr. Charles Simonyi developed the convention at Microsoft, and he is from Hungary.

He wrote an article on Hungarian notation for MSDN, the Microsoft Developer's Network.

Hungarian notation

Here are some prefixes:
  • tbl- Table
  • qry- Query
  • frm- Form
  • rpt- Report

See all Topics

No comments: