523 karma · joined March 6, 2014
`--(...==...)--(...==...)` evaluates to `2` because the first block evaluates to 1, as previously mentioned, and then the next `-` is interpreted as an infix subtraction operator. The second `-(...==...)` evaluates to `-1`, so you get `1 - -1` or `2`.
When chaining multiple together, you can leave off the initial `--`, because booleans will be implicitly converted to integers if inserted into an arithmetic expression, e.g. `True - -1` -> `1 - -1` -> `2`.
> There should be one-- and preferably only one --obvious way to do it.
This article is obviously completely tongue-in-cheek, but I feel the need to point out that this sentence is not meant to be a complete inversion of the Perl philosophy of TIMTOWTDI. The word "obvious" is crucial here - there can be more than one way, but ideally only one of the ways is obvious.
And, of course, there's nuance to that question. It's not like our only options are to keep the status quo or ban vapes entirely. One of the ideas presented in the article is to ban flavored vapes, since that's one of the main points of attraction to non-smokers (especially children), and non-flavored (or tobacco-flavored) vapes will still be viable alternative to smokers.
I'm somewhat optimistic that HFC will play a role in the future of transportation, but there are still a lot of issues that need to be ironed out.