On May 7, 2010, at 5:53 PM, Jarvis, Matthew wrote:

> I think this is one of the top three things that non-VFP folks would
> criticize about the VFP language: 1) untyped variables 2) non-standard
> SQL (as you've just seen) and 3) config parameters (SET things ON/OFF
> and such in the config.fp) would drive these people nuts....


        Slight correction: VFP has dynamically-typed variables, versus the 
static types common in compiled languages. However, VFP variables are also 
strongly-typed, meaning that it will not do assumed coercion, such as 
Javascript does (e.g., "Fred" + 42 is perfectly legal in Javascript).

        The proponents of static typing argue that it prevents errors at 
compile time. IMO, static typing is like adding a really, really weak test to 
your code. See this great article by Bruce Eckel, which focuses on Python's 
typing, which is the same as VFP's.

        http://www.mindview.net/WebLog/log-0025



-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** 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.

Reply via email to