News for hackers. Stuff that matters.
Re:Just compile some Scala code to get an interview by antiterra on Monday May 02, 2011 @11:16AM (#2506522)
gWU`UAXYjT[ig\\eBWca looks like 20 characters to me, why would k.size return 19?
Re:Just compile some Scala code to get an interview by CodeMage on Monday May 02, 2011 @11:17AM (#2506526)
Because \\ is an escape for \.
Re:Just compile some Scala code to get an interview by jorgeortiz85 on Monday May 02, 2011 @11:18AM (#2506529)
Because Java/Scala strings use \ as an escape character, so the string "\\" parses as a string with a single backslash character, not two.