4 ms·
more people complaining about a language they don't understand, js should be more like y language is something I've been hearing for years. it's inane and shows
by ldehaan 10y ago
more people complaining about a language they don't understand, js should be more like y language is something I've been hearing for years. it's inane and shows a deep lack of understanding of programming languages specifically, and how computers work in general.
I have been writing apps in all js for years now, there are issues with the language as there are with all languages. over all if you spend the time to learn it, don't use pre processors, and stick to the known patterns for js development you will have zero issues with the language.
the bugs I run into nowadays are usually related to parsing incoming data that is not formatted logically for best use in js.
it is best to get your js objects as flat as you can on the server side before sending them up to be iterated over in your frontend app.
most of the applications I build are data heavy with charts and such. I routinely get 100ms or better load times on huge amounts of data because if you do it right, JS is really fast and flexible.
my wife is a designer and I've learned that CSS used correctly with js is all you need. if you can't do the graphics with CSS then js is fine, but do all the work on your Dom object before injecting it into the Dom.
read JavaScript the good parts by Douglas Crockford
- Roboprog 10y agoCSS? Now that's hard. I love both the dynamic and functional aspects of Javascript. See my comment elsewhere about currying as a frequent substitute for constructors/setters, abstract base classes and AOP.