News for hackers. Stuff that matters.
Re:How One Missing `var` Ruined our Launch by ajross on Tuesday November 01, 2011 @11:45AM (#3182591)
Wait... matlab allows "AB" to be inferred as "A*B"? How is that not a disaster? Parsing a token that doesn't even exist in the lexer stream? Even C++ wouldn't try that.
Re:How One Missing `var` Ruined our Launch by gujk on Tuesday November 01, 2011 @12:04PM (#3182687)
1i is special, sort of like 1d or 1f in C. The i refers to the imaginary number datatype. i also can be reassigned, which is a horrible design bug in Matlab.