Fantom

Login | Register

dynamic vs static typing

jbc
12 Jul 2012

in what way is fantom dynamic typing and in what way is it static typing? (i am looking for a clear and detailed explanation...) can anyone write examples with code?

SlimerDude
12 Jul 2012

Assuming you know what static typing is, Fantom's dynamic typing is explained in the Tour.

brian
12 Jul 2012

// static call checked by compiler
obj.foo(a, b)

// dynamic call bound at runtime
obj->foo(a, b)

jbc
12 Jul 2012

ok. and thx for the clear example...

Login or Register to Reply

Back | All Topics