#1953 dynamic vs static typing

jbc Thu 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 Thu 12 Jul 2012

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

brian Thu 12 Jul 2012

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

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

jbc Thu 12 Jul 2012

ok. and thx for the clear example...

Login or Signup to reply.