Answer the question
In order to leave comments, you need to log in
Pure JavaScript, is it alive?
Good afternoon, ladies and gentlemen.
Is pure JavaScript alive?
Who uses it, is it possible to do commercial development exclusively on it?
PS I'm familiar with HTML/CSS/jQuery/AngularJS/JS, but I'm most attracted and like working with JS, is there life on Mars?
Thanks
Answer the question
In order to leave comments, you need to log in
Familiar with jQuery/AngularJS/ JS
var hide = function(elem){
document.getElementById(elem).style.display = 'none';
};
hide('text');
Alive, he is alive, but that's what it is - another question.
Quite a large part of it is ideas embodied in "dirty" (as it should be logically called) JavaScript (that is, some kind of library) and adopted by programmers passing by from Ecma. Often, the “dirty” counterpart is faster than the clean one, and what can we say about cross-browser compatibility ...
The most famous example is jQuery, thanks to which a sea of \u200b\u200bthings appeared in native JS. Coincidence.
So what am I talking about, to the fact that really pure JS is actually objects, variables, primitive types, constructors, functions, methods that have existed for centuries for working with the DOM, etc. platitudes. And what you give in the example is a completely different story.
I hope I expressed my idea correctly.
I've been writing in TypeScript since August. I won’t return to pure JS again (only if there is no emergency), if someone rubs that they say “you are working now, writing in TS, and then you quit and the one we take after you will rake up the whole thing” - I will answer 2 things:
- (I'm not going to quit =)) the one who will rake the whole thing will thank me later for the normal architecture of the project.
- TS features are learned in 1 day.
PS: I don't like implementing classes based on prototypes without using syntactic sugar.
In es2015 it is almost normal, but there is no such thing yet https://github.com/jeffmo/es-class-static-properti...
I use it to develop universal Windows applications. And then there is the WinJS library (compatible with the frameworks you listed).
I can't stand jQuery, I'm allergic. Better then TypeScript.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question