Joined November 2012
·

Erik Allik

Tallinn, Estonia
·
·
·

Posted to Json format for tuples in play json over 1 year ago

I used case JsArray(List(a, b, c)) instead of if arr.size == 3.

Yes, that's a valid point. My hostile response was because your initial response was the same one I'd get from anywhere by anyone.

My main idea was actually for these "keywords" to be noops. You can think of it as super-inlined microcomments. Not sure if your criticism still applies then.

Can you explain how adding explicit intention markers to your code makes anything less explicit? Or did you implicitly shut off your brain when you saw the combination of "pythonic" and "enhanced language features", and immediately switched to the "be a good minion and aimlessly quote the BDFL" mode?

P.S. would you care to post a comment that actually discusses something about the ideas in the post and what use cases might have led to these ideas, instead of generically talking about what is Pythonic, how much magic something is and what the BDFL?

Achievements
237 Karma
16,539 Total ProTip Views