Learn a typed language and understand why it's important. Then come back to JavaScript and it will make sense.
However it's a painful thing to view, my eyes really can't take the extra bloat and cognitive load at first is always a pain. But we adapt and then learn to rely on the predictably and make less assumptions because it also self documents the inputs and outputs.
I wish the error messaging was more clear though, sometimes it can be a proper mystical journey on why a particular type is incorrect when there are many of them to soft through. (Keep it simple I guess 🤷🏾♂️)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Learn a typed language and understand why it's important. Then come back to JavaScript and it will make sense.
However it's a painful thing to view, my eyes really can't take the extra bloat and cognitive load at first is always a pain. But we adapt and then learn to rely on the predictably and make less assumptions because it also self documents the inputs and outputs.
I wish the error messaging was more clear though, sometimes it can be a proper mystical journey on why a particular type is incorrect when there are many of them to soft through. (Keep it simple I guess 🤷🏾♂️)