> >> On Sat, 1 Apr 2000, Guido van Rossum wrote: > >> New Features in Python 1.6 > >> ========================== > >> [lots 'n' lots] > >> tokens = "foo bar baz".split(" ") > >> tokens = " ".split("foo bar baz") > >> [and Python guesses which to split on by studying the contents] > > > Has anyone started working up a style guide that'll recommend when > > to use these new methods, when to use the string module's calls, > > etc.? Ditto for the other changes --- where there are now two or > > more ways of doing something, how do I (or my students) tell which > > one is preferred? > > Greg, you should pay real close attention to the date on Guido's msg. > It's quite a comment on the state of programming languages in general > that this all reads sooooooo plausibly! Well, you have to remember, I'm the guy who asked for "<" to be a legal Python token :-). Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4