Euphoria versus Java
- Posted by rforno at tutopia.com Apr 07, 2003
- 369 views
Rob: I'm using a bit of Java now, and I noticed the following: while Java routinely performs a subscript checking (unlike C/C++), it does not verify if byte, short, integer or long variables overflow. So, if you have: byte x = 127; x = x + 1; you end up with x = -128 instead of getting an overflow error. Please correct me if there is a way of checking for this kind of error (someone in the list may know more Java than I do ;)). I think this is another point in favor of Euphoria that can be stressed. Regards.