DEV Community

Belhassen Chelbi
Belhassen Chelbi

Posted on

Unpopular opinions

I have never used Redux, even after using React for 2+ years.

What's your unpopular opinion or something you?

Latest comments (65)

Collapse
 
cullophid profile image
Andreas Møller

100%, unfortunately that language isn't ready yet.

Collapse
 
cullophid profile image
Andreas Møller

"Good" code is not elegant or clean, and it's never DRY.

Collapse
 
cullophid profile image
Andreas Møller

Code coverage is a terrible metric, and unit tests are usually a waste of time

Collapse
 
miguelthedev profile image
Miguel Sanchez

It's NOT okay to be soft.

I'm actually publishing a post about it tomorrow. Stay tuned.

Collapse
 
harri_etty profile image
Harriet

Hahahaha agreed!

 
austindd profile image
Austin

Absolutely! This has been true for me as a TypeScript developer.

Collapse
 
austindd profile image
Austin

I'm going to throw in a suggestion for ReasonML on this one. TS and Flow are great for many reasons, but ReasonML is just 100% better in every way. Compiles to JS and native, and has solid web frameworks in the ecosystem. Can't really go wrong.

Collapse
 
ogaston profile image
Omar Gaston Chalas

Classes are the worst thing has ever happened to Javascript

Collapse
 
cullophid profile image
Andreas Møller

That is a very popular opinion.

Collapse
 
austindd profile image
Austin

I tend to agree. It's nice to have "class" syntax if classes are what you actually want... But a lot of old-school devs saw that and said, "Oh, I guess we can do real OOP in JS now..." And JS is just fundamentally not object-oriented in the way that C# or Java are. It's silly to force that paradigm on a language that does so much more...

Collapse
 
bendman profile image
Ben Duncan

Is that assuming the strong-typed language compiles to Javascript? What about the cases where the target is a browser?

Collapse
 
tomekbuszewski profile image
Tomek Buszewski

It's better to write dirty, understandable code than highly abstract and incomprehensible one.

Also, sometimes it's better to repeat some code rather than refactoring a days work just for the sake of "cleanness".

Collapse
 
cullophid profile image
Andreas Møller

I would say it's almost always better to repeat code.

Collapse
 
scottishross profile image
Ross Henderson

I repeat this regularly at work. We have a developer who (in PL/SQL) wrote a parameter as "parameter := null" instead of "parameter default null", and the reason was that "I'm not a typist".

Collapse
 
lampewebdev profile image
Michael "lampe" Lazarski
  • That we teach to much technical/frameworks/lib stuff and don't teach enough how to think about code and how to abstract things in a general way.

  • People hating on language X. Nobody is forcing you to use Language X.

  • Google, Facebook, Netflix, and all the big tech companies are highly overrated as an employer.

Collapse
 
avalander profile image
Avalander

Javascript has become worse in the past couple of iterations.

Collapse
 
thecodingalpaca profile image
Carlos Trapet

I think I can guess why you're saying this, but mind elaborating?

Collapse
 
tails128 profile image
Tails128 • Edited

(actually planning to write an article on this, if I ever overcome my self-hate/shyness/etc)

Meetings are not something you should avoid or which you should hate, stupid meetings are.

A kick-off meeting is useful, a planning meeting is useful, a retrospective meeting is useful... they are literally there to explain to you how to do stuff, to help the company strategize and/or to help your company make a comfortable environment for you.

Other meetings are to be avoided/hated (and I am looking at you 3-hours long meeting on "definitions")

But the only image you give as a hater for all the meetings independently on what they are about is a very not-professional one.

Collapse
 
bjorngrunde profile image
Björn Grunde

Javascript is overrated and has an overly complex eco-system. It belongs in the browser.

Collapse
 
rhymes profile image
rhymes

JavaScript tooling is too complicated but I'm not even sure it's an "unpopular opinion" anymore, even tools developers are aware of that and are working every day to make it simpler (or to hide complexity away with easier abstractions)