Robertson-Ravo, Neil (RX) wrote:

> Well it will probably be negligible, but are  you planning to name your
> tables A,B,C,D,E etc...?
> 
> You will be in the same boat of any naming convention unless you only want
> tables names A,B,C or, AA, BB, CC or even AAA, BBB,CCC etc... ;-)

I think his point is that tbl- doesn't add any extra benefit in
recognisablity, and only means more typing. I'd have to say I'd agree.

<rant type="gentle" subject="Poor use of Hungarian Notation">
Ditto on the VB-style "Hungarian Notation" that a lot of people use,
which kind of misses the point of what Simonyi was trying to make, which
is to mark the semantic type rather than the physical type. This is less
necessary in a language with strong typing or safe types such as Lisp,
Python, ML, and Java than a weakly-typed language like C. Weak, unsafe
types in C are the reason why Hungarian Notation was invented.

But Visual Basic came along, and the developers missed the point, with
prefixes like int-, lng-, str-, var-, &c. marking physical types rather
than the semantics.

Now, what makes sense are prefixes like n<entity>s, e.g. nDays for the
number of days, i<entity> for an index of <entity>, e.g. iBook for the
index of a book in a list of books.

With GUIs, marking physical types makes sense when you want to imply
that two widgets are related, e.g. lblName and txtName for a
label/textfield pair. But this is one of the few where such a usage
really makes sense.
</rant>

K.

-- 
Keith Gaughan, Developer
Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland
http://www.digital-crew.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=38

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181869
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to