Add None coalescing operator in Python

“Readability” in theoretical discussions is almost completely a useless stat. Everyone has their own definition, never backed by any sort of actual studies, and nobody ever changes their mind based on other people’s examples.

I personally suspect that some people consider something “readable” on the basis that “I can understand what it does based on my pre-existing knowledge of what Python can already do” (meaning that new syntax is ALWAYS less ‘readable’ than a verbose form that already exists), and other people consider something “readable” on the basis that it is compact and expresses a thought that can be fit into a larger “sentence” or “paragraph” (meaning that a new syntax is almost always more ‘readable’ than the more-verbose form that already exists).

It’s nearly as bad as “explicit”, which means “code that I like”. Can we all agree to just stop arguing about whether something is readable based solely on our subjective views, please? It’s nothing but noise in a discussion.

3 Likes