DEV Community

Discussion on: Don’t be arrogantly ignorant: don’t flame

Collapse
 
wesen profile image
Manuel Odendahl

I think maybe I need to formulate my point a bit differently, because I think we completely agree.

I want people to do exactly what you are doing here: a constructive discussion on why you don’t like Javascript for say, lack of type safety and maddening type coercion (exactly my pet peeve with JS, C and to some extent C++).

But saying “JS is flaming hot shit and people who use it are destroying the web” (you wouldn’t believe how common that is), is lazy and ignorant. I think even just saying “JS is flaming hot shit” without saying “I think JS is flaming hot shit” is insulting to JS users, and it also closes you off to some of the good things in JS.

For example, I like C++ quite a bit, but I use almost no OOP patterns in it. I use the templating to enforce strong constraints on my types (for example to dismantle type coercion), and abstract virtual classes as more of a “trait/interface” like pattern. Discussing C++ at that level, comparing it do Ada and how you can use either language to enforce constraints, pre conditions, etc… Great discussion, and we both know neither language is shit, nor are its programmers.

Matlab/octave is one of the languages I often see get shit as well. Mention matlab and someone is bound to say it’s utter garbage because arrays start at 1 or some nonsense. That’s what I am addressing in this article.