The Assembly language type system is both static and very strong. It just contains only one type - bytes. (And octets, but no-one uses them anymore.)Now, the big reply is "But bytes can be strings and numbers and Assembly language implicitly converts between them." Yes, it does. However, look at it this way - there is a type called bytes. There are dozens of operators that work on bytes. Some of them work with the bytes one way and some work with it another way. The fact they treat the bytes differently is both consistent and documented. It doesn't change the fact that it's still a byte and it was typed as a byte at compile time and it will never change what it is. Static and strong typing.
In reply to Re^2: Static typing is mostly a waste of time
by Anonymous Monk
in thread Static typing is mostly a waste of time
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |