DEV Community

Cover image for What is the most common error you see?
stereobooster
stereobooster

Posted on

What is the most common error you see?

What is the most common error you see people doing over and over? Maybe some common wrong belief?

Photo by Sarah Kilian on Unsplash

Top comments (18)

Collapse
 
mdor profile image
Marco Antonio Dominguez

I think the 2 most common errors in JS, are mostly:

  • Trying to access any property into an undefined or null.
  • Trying to invoke an attribute as a function, this can relate with the first point, anyhow I saw this too much.

In the management side:

  • Not hear the people, it can be someone is about to leave the project/company.
  • Not hear the recommendations before taking a poor technical decision.

In general:

  • Over-optimize everything without setting the proper metrics.
  • Keep technical debt growing.
  • Set everything as an urgent requirement.
Collapse
 
stereobooster profile image
stereobooster

True: when everything is a priority, there is no prioritisation.

Collapse
 
stereobooster profile image
stereobooster

Overuse of modals modalzmodalzmodalz.com/

Collapse
 
elmuerte profile image
Michiel Hendriks

Thinking that something is "simple", or even worse: "easy".

And once they have been burned enough by this error they will blow everything out of proportion, which generally leads to a downward spiral of diminished returns.

Collapse
 
craignicol profile image
Craig Nicol (he/him)

Cutting quality helps to meet a deadline.

Collapse
 
stereobooster profile image
stereobooster • Edited

Error: Ruby, JavaScript are untyped languages. Actually, they are dynamically (typed) type checked languages dev.to/stereobooster/pragmatic-typ...

Collapse
 
stereobooster profile image
stereobooster • Edited

Error: const is for declaring immutability. Nope, const declares referential transparency dev.to/stereobooster/similar-yet-d...

Collapse
 
scottishross profile image
Ross Henderson

In my stack (Oracle APEX) I'd say it's instead validating data entry to prevent errors, it's trying to handle an insurmountable amount of potential exceptions with "nice error messages".

Collapse
 
craignicol profile image
Craig Nicol (he/him)

At the language level : Variable length Indexed Lists are the only collection you need. Arrays, Sets, Hashtables, Dictionaries, Linked Lists, and others all are better solutions for some problems.

Collapse
 
stereobooster profile image
stereobooster • Edited

Error: C and co are call by reference. Actually, they are not dev.to/xpbytes/javascript-ruby-and...

Collapse
 
thomasaudo profile image
thomasaudo

Javascript scope by far