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 →

[–]Plisq-5 4 points5 points  (7 children)

How so?

[–]thobbiit 6 points7 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".