News for hackers. Stuff that matters.
Re:Interviewing at Google, Facebook, Foursquare, Dropbox, Fo... by alasdair_young on Tuesday May 22, 2012 @06:05PM (#4010342)
I wasn't out and out asked, but it certainly came up when trying to optimize a solution.

NOTE: if you are a Java developer, make sure you remember that bytes are signed! (I have no idea who thought that one was a good idea)

Re:Interviewing at Google, Facebook, Foursquare, Dropbox, Fo... by yzhengyu on Tuesday May 22, 2012 @07:28PM (#4010654)
I can't remember it, but there was an interview where Gosling said it was for simplicity.

And rather amusingly (and if I remember correctly...) the char data type in Java is not really the equivalent of char in the other C derivatives.

Re:Interviewing at Google, Facebook, Foursquare, Dropbox, Fo... by tedunangst on Tuesday May 22, 2012 @11:54PM (#4011460)
Java char is c wchar. Java also has byte.