32 karma · joined May 5, 2015
It's completely unenforceable.
Also it's pretty easy for any website that wants to track you, to track you using something other than cookies.
Of course selling your house and buying a new one will take a few months, so it does restrict your mobility in that way.
If you miswrite "function" as "fnuction", you'll easily, quickly find out.
If you miswrite => as >= it might take ages to track it down.
a=>b<=7
a>=b<=7
Can you not see the typos possible with this? The less characters you use for something, the more error prone. There's a reason we don't write in regular expression syntax.Maybe I'm just getting old!
It's like when languages make threads easy to create - and then programmers go away and use threads for everything!
Maybe some verbosity is a good thing because it makes programmers think about whether they really want to do something a few thousand times.
// foo takes a function, and a boolean.
// foo(a=>7, a>=2);
Really? That's easy to read is it? Eugh count me out.With a conventional taxi company, if something bad happens, you deal with the taxi company, get compensation, etc etc
With Uber, they wash their hands of it and say it's all the individual drivers fault. So now the drivers have to deal with any bad stuff, and their insurance companies as well.
This is Uber, pushing the risk onto drivers, so it can make more money.
Most of it is just superfluous fluff that doesn't actually do anything but change the syntax to something they perceive as fundamentally better, when it's just a matter of taste and fashion.
Also, it's not faster, so what's the actual point?
The browser should use all CPU cores efficiently to make javascript fast. Exposing WebWorkers to javascript programmers IMHO is totally the wrong way to do that.
There aren't many operations in javascript which will block. The only real issue is that your javascript code executes in the same thread as UI. Which just means you need to think a bit harder about keeping it responsive.
"Start threads!" in programming is usually a lazy hack.
So doing something that takes 8s doesn't have to block the UI at all. The "without webworkers" version should be renamed to "Naively programmed version" or something.