|
That's the thing! If you look at this link ECMAScript 6 compatibility table[^] you ll see that almost every browser is now ECMA6 compatible.
The only and only exception is IE. So, let's move those old IE aficionados to Edge then
|
|
|
|
|
Edge has 2 use cases:
1) Downloading Chrome
2) Amazement that they made it so much faster while making it feel like it's just broke!
|
|
|
|
|
The ones who belly-ache about JavaScript are just frustrated VB6 users. Don't pay them any mind.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Nope - once you know what you are doing it's perfectly fine.
[Edit]
Except for floats.
|
|
|
|
|
Nope. It's not so bad as people make it out to be... different yes. Bad... nope.
Jeremy Falcon
|
|
|
|
|
I am one that don't dislike javascript anymore, although I used to. In fact we just finished a quite complex system in which javascript plays a major role in both the server side and client side (see my signature) and it works quite well. As a matter of fact, I am feeling that the javascript codes we produced are more readable than the C# counter part (some of the equivalent logic were were realized in C# before) due to its functional style of representation
|
|
|
|
|
Nope. Takes a little getting used to when you usually code in C# or something but it's just another language you can do some interesting things with.
|
|
|
|
|
My first encountered with duct-typing, I though was bad idea. Now switching back to code in C#, I actually miss the duct-type and the ability of adding property on the go as in JavaScript.
No you are not the only weirdo.
|
|
|
|
|
|
Aless Alessio wrote: you'll deal with my XAML and i ll take your javascript duties
No way! I'm not touching that mess!
Marc
|
|
|
|
|
How about you do my CSS and I'll fix whatever problems you have (car, marriage, kids, anything is more fixable than CSS)
|
|
|
|
|
Of course that is not really Javascript's problem. I see plenty of stupid errors in Visual Studio. Sometimes when you have a mistake that means that a project does not compile there are a ton of others. Then there was the time that I had a WPF UserControl and the code behind did not see the names in the XAML. I would love to blame Javascript for this problem since I am not fond of the language for a number or reasons, but in this case I cannot.
|
|
|
|
|
Clifford Nelson wrote: I see plenty of stupid errors in Visual Studio.
True - the ones that are worst are Linq errors - those errors messages usually have nothing to do with the actual error.
Marc
|
|
|
|
|
use some codechecker like jslint. It may suck sometimes, but it also helps.
Do you know Swift?
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
KarstenK wrote: use some codechecker like jslint. It may suck sometimes, but it also helps.
I can only imagine the thousands of warning and errors produced by this project, which is built around Django and Backbone.
KarstenK wrote: Do you know Swift?
Nope -- I take it it has obscure error messages too?
Marc
|
|
|
|
|
9 out of 10 hates JavaScript. But if you have the right tools (debugging/diagnostics) then you should be fine
PS: I also hate JS. Thanks to TypeScript for making my life less stressed!
modified 17-Aug-16 11:29am.
|
|
|
|
|
Vincent Maverick Durano wrote: Thanks to TypeScript for making my life less stressed!
Why do I not believe you?
Marc
|
|
|
|
|
Marc Clifton wrote: Why do I not believe you?
Because you hate JavaScript.
|
|
|
|
|
Jeremy Falcon
|
|
|
|
|
10 minutes is fast to find that. I'm serious. I've had a single missing comma cost me over an hour.
Painful.
|
|
|
|
|
raddevus wrote: I've had a single missing comma cost me over an hour.
Same here. It took forever to actually realize it even wanted a comma. That was in my n00b days working with Backbone. Sort of trial by fire, was asked to implement a bunch of pages on existing project, never used Backbone before.
Marc
|
|
|
|
|
Marc Clifton wrote: It took forever to actually realize it even wanted a comma. That was in my n00b days working with...
AngularJS (1.x)
Exact same experience, just a different JS library.
Hilarious!! and/or Terrible!!
All for the lack of a decent compiler and good warnings.
|
|
|
|
|
My wife had a missing period that cost me 22 years.
|
|
|
|
|
Marc man, what are you using for an IDE? function is a keyword and should be highlighted. You're making this hard on yourself man.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Marc man, what are you using for an IDE?
I'm using Sublime. I suppose I could try VS Code, but then I have to figure out how to set it up to FTP saves over to the Ubuntu VM running the app. (Editing in Ubuntu sucks, one of many reasons being that the numeric keypad cursor keys don't work, and using the "T" is not something I ever got used to and cramps my fingers.)
Marc
|
|
|
|