About

I am a software developer in Seattle, building a new AI software company.

Ads

April 2009

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Categories

Ads


« Powers Of Ten | Main | Persistent Performance »

August 19, 2006

Comments

Lua has a syntactical shortcut where you can remove the parens from a function call if it has only one argument, provided the argument is a string "like this", an array {like, this} or a Perl-style multi-line 'heredoc' string [[like
this]]. It means that syntax like print "Hello, world" is legal; you don't have to say print("Hello, world"). Sounds like this Java syntax is a step in that direction; I think it makes things a little more readable, and that's a Good Thing.

The comments to this entry are closed.