On Tuesday, 6 May 2014 at 21:31:32 UTC, bearophile wrote:
Paulo Pinto:

That is an implementation detail I would say,

It's not an implementation detail, it has consequences on the kind of code you are allowed to write, because it's not really a dynamic language. After the JIT compilation it's "statically" typed, with some niceties like the type splitting you have seen with the x variable. In Julia you can't write all the programs you can write in Python. But in practice the limitations are not a problem for the scientific code, and the advantages are great.

Bye,
bearophile

So this basically means:

setName(name)
  userName = name;  // string type

extern module / cracker:

setName(5.0) // Error or at least doesn't affect original userName

Right or wrong?

Reply via email to