RE: Removing the concept of "optional any"

From: Jonas Sicking <jonas@sicking.cc>

>> In that case, if I were a JS programmer trying to post a message of `undefined`, I would do so by doing `postMessage()`, not `postMessage(undefined)`.

> That seems exceedingly awkward. Consider

I wasn't advocating branching logic at all. I was considering the specific case wherein I wanted to post the message consisting of the value `undefined`, not a generic case where someone could post any message.

Received on Wednesday, 19 February 2014 22:24:17 UTC