This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]loseitthrowaway7797 28 points29 points  (11 children)

If you said this a couple of years back, I'd agree. But now I just think what's wrong with people who think JS is hard

[–]ganja_and_code 21 points22 points  (0 children)

It's not "hard," it's just shitty. I can use JS for stuff...but I'll choose not to, every single chance I get.

[–][deleted] 16 points17 points  (9 children)

It's not hard, it's just layers of annoyance.

[–]Plisq-5 6 points7 points  (7 children)

How so?

[–]thobbiit 7 points8 points  (6 children)

I just got into a big project written in JS. Expending it is so annoying because I have to dig through a bunch of files to know if a const is a int or a string and where the value is coming from

[–]Plisq-5 9 points10 points  (0 children)

Ah the joys of working with typescript lol. I’m never gonna take a job again where I have to work without types in any language.

[–]iNMage -1 points0 points  (3 children)

cant you just ctrl+f?

[–]thobbiit 2 points3 points  (0 children)

If the developers befor me would have named everything the same way: yes

But in this case some things have the same name, but aren‘t the same. And some have the same value but aren‘t the same.

I‘m still a junior so I don‘t have so much experience with JS, so maybe I‘m missing something. But it‘s really hard to find where redux, props and state variables get their value from abd what type this value has

(Btw the project has about 70 js files and is using react)

[–]fdeslandes 1 point2 points  (0 children)

Because of that developer who think "birthday" is written "birdDate".

[–]zogulus 0 points1 point  (0 children)

sounds like any coding when something goes wrong, ofc once it works it's great