in reply to Re: Static typing is mostly a waste of time
in thread Static typing is mostly a waste of time
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Static typing is mostly a waste of time
by dragonchild (Archbishop) on Apr 13, 2005 at 12:48 UTC | |
by Anonymous Monk on Apr 13, 2005 at 15:15 UTC | |
by dragonchild (Archbishop) on Apr 13, 2005 at 15:27 UTC | |
by Anonymous Monk on Apr 13, 2005 at 15:44 UTC | |
by dragonchild (Archbishop) on Apr 13, 2005 at 17:27 UTC | |
|