Re:Hidden features of Python
by cma on Thursday July 15, 2010 @04:41PM
(#1519104)
The Iverson Bracket would already exist in a python that didn't subclass bool from int; '[boolean_expression]' would be, in python notation: 'int(boolean_expression)'.
Sounds kinda like I'm making the same argument as Knuth in forcing '[]' over '()'.
Sounds kinda like I'm making the same argument as Knuth in forcing '[]' over '()'.