Nimrod language

Russel Winder russel at winder.org.uk
Fri May 25 01:53:19 PDT 2012


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.

[...]
> Prints '3' as excepted.

No exception there ;-)

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120525/20d01e21/attachment.pgp>


More information about the Digitalmars-d mailing list