Nimrod language
Jacob Carlborg
doob at me.com
Fri May 25 02:47:54 PDT 2012
On 2012-05-25 10:53, Russel Winder wrote:
> On Fri, 2012-05-25 at 10:43 +0200, Jacob Carlborg wrote:
> [...]
>> I don't know about Nimrod but in Ruby and I assume in other languages
>> like JavaScript, PHP and similar, the order of declarations only matters
>> at top level. Example in Ruby:
>
> Surely with dynamic languages like Python, Ruby, Groovy etc. declaration
> order is irrelevant, it is execution order that matters. Your example
> holds but only by following what execution happens not what the compiler
> does.
I suspected that. Can't the compiler do something similar?
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list