function hoisting like var

Ingvar von Schoultz ingvar-v-s at comhem.se
Mon Jul 28 05:25:25 PDT 2008


Brendan Eich wrote:
> On Jul 26, 2008, at 2:06 PM, Ingvar von Schoultz wrote:
> 
>> How sad! It seemed such a simple and intuitive notation!
> 
> Opinions vary, but all the ones I heard at the Ecma TC39 meeting  
> found it neither simple nor intuitive, and some abhorred it on  
> aesthetic grounds to boot.

Maybe one reason people find {{ }} ugly is that they read these
emails in a proportional font, for example Times New Roman. In
such fonts the braces are often oversized and weird, and just
don't fit in.

But real code is never read using such fonts!

With a regular syntax-coloring editor, adjusted for JavaScript,
using a font suitable for programming, it looks very different!

-- 
Ingvar von Schoultz

------- (My quirky use of capitals in code comes from my opinion that
reserved and predefined words should all start with lowercase, and
user-defined should all start with uppercase, because this will easily
and elegantly prevent a host of name-collision problems when things
like programming languages are upgraded with new labels.)



More information about the Es4-discuss mailing list