Twisted Logic 20070915 is available!

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

nczempin

Re: Twisted Logic 20070915 is available!

Post by nczempin »

Alessandro Scotti wrote:
nczempin wrote:Which is always signed, just as all other primitive Java data types. Those mistakes can only come from C programmers :P
Not only them... last I saw came from a "Java programmer" that was implementing some spec... spec said "byte" and proceeded to specify some magic values >= 80h, programmer implemented spec as literally specified, program did not work... :-) Too easy to forget byte is signed, when in most places (not only programming languages) it is assumed it isn't! :-)
did the spec say "Java byte"?

and, yes, I think unsigned bytes are very unintuitive, but I'm also contaminated.