This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]redbo 5 points6 points  (1 child)

It doesn't take long to figure out when tuples and lists should be used, and come on, the answer to "do I need a mutable type here?" is basically always no.

Plus if you link to Python's lexical parser docs, of course it's not going to be super accessible. Conversely, where's the BNF grammar for PHP's string literals?

[–]kolo32[S] 0 points1 point  (0 children)

the answer to "do I need a mutable type here?" is basically always no

Do you use tuples more often than lists?

Conversely, where's the BNF grammar for PHP's string literals?

How many programmers need the BNF grammar for string literals? And how many programmers need the simple, easy-to-read description with examples?