News for hackers. Stuff that matters.
Re:Python and the Principle of Least Astonishment by rmccue on Friday July 08, 2011 @11:34PM (#2744937)
Personally, I love that joining is ' '.join(list), since PHP (e.g.) works the same way, in that the first argument to implode() is the string.
Re:Python and the Principle of Least Astonishment by xtal on Saturday July 09, 2011 @03:40PM (#2746210)
It being consistent with PHP is pretty much the same thing as being inconsistent.