Re: . or : for namespace?
- Posted by "Euler German" <eulerg at gmail.com> May 05, 2008
- 695 views
> On 5 May 2008 at 15:07, Derek Parnell wrote (maybe snipped): > Without knowledge gained from other arts of a source code file, the > following statement is visually ambiguous... > > if foo.bar = 1 > > What is 'foo'? > > if foo:bar = 1 > > Now it is obvious that 'bar' is declared in another source file. > > The argument with respect to ease of typing can also be applied to > other often used Euphoria syntax elements, such as the double-quote, > tilde, dollar and brace-pair, not to mention the widely used '<', '>', > '(', ')', and '%' characters. But that argument isn't actively used > against these characters so why use it against ':'? > Derek's "disambiguation" made a point here. So, I'm about to change my vote for the dot. It was a conditional vote, anyway. ;) Best, Euler -- _ _| euler f german _| sete lagoas, mg, brazil _| efgerman{AT}gmail{DOT}com