Prev | Current Page 77 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

Dynamic typing is where variables can contain data of any type at any time, often to the point
that variables do not even have to be declared, as long as they are assigned data before they are queried.
Once a variable holds a value, that data can then be referenced as another type without the use of
casting. Programmers who opt for dynamically typed languages will often comment at how much
quicker they can prototype and develop their applications and often find this lack of type restriction as a
respite to the more lower - level languages they were used to. However, such programming techniques
lead to untidy code and a greatly increased possibility for error leading to applications that are unstable
and hard to maintain. Also, applications built with such languages tend to be quite a bit slower and more
memory consuming than statically typed languages as the virtual machines that execute the code have
more to deal with when creating, casting, and destroying the data structures used by the language.
Regardless, the debate between static and dynamic typing will likely persist, as the taste of others will
always vary considerably.


Pages:
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89