News for hackers. Stuff that matters.
Re:C++11 and Boost - Succinct like Python by mquander on Wednesday October 31, 2012 @06:12PM (#4725183)
Lots of languages use [] with colon separators for array slicing, e.g. F#, Perl, Ruby. The idea that this syntax involves "deep knowledge" is laughable.

Your criticism is analogous to me looking at "int* foo = bar()" and saying, hey, we're multiplying a type by a name! How ridiculous!

Re:C++11 and Boost - Succinct like Python by blub on Thursday November 01, 2012 @08:40AM (#4727156)
The int pointer syntax is in fact ridiculous, so it does not support your point. Also s[x:y] is intuitively understandable compared to referencing two colons and minus one...
Re:C++11 and Boost - Succinct like Python by Evbn on Wednesday October 31, 2012 @11:43PM (#4726100)
Well, that is ridiculous. It makes the language literally impossible to parts without context-sensive semantic analysis. Go Language fixes that bug by always having a type name first or a colon after introducing a variable.