373 reputation
312
bio website
location New York, United States
age
visits member for 2 years, 2 months
seen Nov 16 at 23:27

Slowing converting from Stack Overflow lurker into a contributing member.


Sep
24
awarded  Autobiographer
Apr
29
accepted What algorithm should I use to create an automatic staff scheduling feature?
Apr
22
asked What algorithm should I use to create an automatic staff scheduling feature?
Oct
15
awarded  Yearling
Apr
17
awarded  Notable Question
Feb
13
awarded  Excavator
Feb
13
revised Is using '{}' within format strings considered Pythonic?
edited note
Feb
13
revised Differences between “Java OOP” and “Pythonic OOP”?
change -> chance as seems intended by context / adjusted some hyphens
Feb
13
suggested approved edit on Differences between “Java OOP” and “Pythonic OOP”?
Feb
12
comment Is using '{}' within format strings considered Pythonic?
@Andrea - that's exactly what my first thought was, but it's hard to argue that the BDFL thinks it's un-Pythonic. After seeing the quote of him on this, I went back at looked at the Zen of Python again, and thought maybe this is a case of "practicality beats purity"? The rationale in the discussion (linked in Greg's answer) is around convenience for the code writer. And in any case, really the most explicit way to use string formatting is "{a}{b}".format(a=string_a, b=string_b) rather than the numbering. Anyhow, that's just my speculation and reading between the lines on the thinking...
Feb
12
accepted Is using '{}' within format strings considered Pythonic?
Feb
12
revised Is using '{}' within format strings considered Pythonic?
added note
Feb
12
comment Is using '{}' within format strings considered Pythonic?
To folks who are voting to close this question, may I just point out that what is or is not Pythonic is an important part of Python coding culture, and I'd argue coding culture is an important element of software engineering, an accepted subject of this site.
Feb
12
comment Is using '{}' within format strings considered Pythonic?
@GregHewgill - I don't agree that syntax feature being possible in Python automatically makes it Pythonic. But your quote of the BDFL's view on this syntax is very helpful -- thanks for finding and sharing that. If you made that an answer, I'd select it.
Feb
12
awarded  Informed
Feb
12
asked Is using '{}' within format strings considered Pythonic?
Dec
7
revised Why do iterators in Python raise an exception?
added StopIteration in final sentence for clarity
Dec
7
suggested approved edit on Why do iterators in Python raise an exception?
Dec
6
awarded  Quorum
Dec
6
comment Is C# development effectively inseparable from the IDE you use?
Really appreciated your thoughts here, as you seem to really "get it" in terms of both the IDE and "Sublime VimNess" approaches to things. I'm with you in all you say here. Here's hoping it comes to pass.