Author: Ed Leafe
Posted: 2017-07-26 at 12:51:49
On Jul 26, 2017, at 12:45 PM, Ted Roche <tedroche@gmail.com> wrote:
> I completely agree *if you are using a strongly-typed language* that
> including the type-prefix in the variable/field names is redundant.
> VFP is NOT strongly typed, so sometimes it's handy.
While 25 years ago I adopted the Hungarian notation that was promoted in Codebook, when I left the Fox world I found that no one else used it. My early Python code used it, and reading it now it seems kind of silly. Using a clear variable name is all that I need now.
Also, “strongly-typed language” is not the same as statically-typed, which is probably what the author meant. Python is strongly-typed, meaning that a statement like:
x = 1 + “0”
will raise an exception.
-- Ed Leafe
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/10ED7489-ACE7-4D2B-A88C-84633B853AEA@leafe.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.