News for hackers. Stuff that matters.
Re:Type hinting for Python by dezgeg on Tuesday January 06, 2015 @12:59PM (#8845862)
Angle brackets cause difficulties during parsing: since there is a '>>' operator, getting a type like 'List<List<int>>' to parse properly would require either a hack in the lexer or requiring a space between closing angle brackets (as in 'List<List<int> >')

This is a well-known problem in C++; some of the parsing rules were changed in C++11: http://stackoverflow.com/questions/15785496/c-templates-angl...

There are no comments on this comment yet.