michaelmartin
Joined 15 years ago
Joined 15 years ago
1 + "2" (12) does a string concatenation. 1 - "2" (-1) does math.
That said, whilst JS is loosely typed and won't fall over when you do this, I'd just see it as bad form to find code mixing types to this extent. Just because the language will let you do it, doesn't mean you should actually do it!
Intercom.io is a brilliant example of this. They could have priced a million different ways, but they chose to charge by active users on their customer's apps. Now I don't even care about the price, I'll be happy to be doing so well each time I go up one of their price bands!
"We think getting your whole team on Intercom is a good thing. And we think talking to your customers is a good thing too. So we won’t tax you for either. We charge you more as your user base grows. Our interests are aligned."
Browser compatibility isn't too bad, but no Safari support it seems: http://kangax.github.io/es5-compat-table/es6/#let
They don't mention anything specific about the new site, and given how many other good tech sites there are, the vagueness doesn't make me curious enough to come back.
And in terms of journalistic integrity with full disclosures; I learnt more about what has really happened from the comments here than I did in that post. Surely they should have disclosed that a need to "refresh, reimagine, remake and reinvent" wasn't the only thing in play here.
Just Twitter. Which is something, but not enough when you have a PR issue this big...
[1]: http://www.theverge.com/2013/12/21/5234580/patent-pending-ia... [2]: https://news.ycombinator.com/item?id=6966528
It also moves a lot slower, so if you miss a few days, it's fine. Just one page or so of links will show you all the best from those few days.
I don't mind reaching for my wallet there; it forces you to make a conscious decision to spend the money, which is at least slightly better than a 1-click impulse.
Couldn't they have become some massive trial group etc.? A giant set of early adopters to keep rolling out improved versions too (All with a big "alpha" caveat if that's what it takes), that can get people not yet in the group excited.
I think the little bit of hype and excitement from interested users is just the sort of thing BlackBerry needs, and putting a plug on that is crazy.
Both great movies though :)
For me, the biggest reason for paying for managed services like Heroku etc. is avoiding that risk. This sort of thing would make me far happier to ship some of the load back onto Linode. Can't fault their hardware. :)
For anyone else that this was new to, Flow has documented these as "disjoint unions": https://flow.org/en/docs/types/unions/#toc-disjoint-unions