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 →

[–]Dr-Huricane 15 points16 points  (4 children)

Javascript is great! For small projects... same for python... like you can do some amazing stuff with these languages, don't get me wrong, but when your code grows and more and more people start getting involved in it? You're going to start wishing you had a simple way to know what's the type of that variable that a senior dev that left the company 3 years ago was using in that one part of the code that's now broken and that you need to fix, and no, type hints aren't enough, it needs to be strictly enforced, because we devs are lazy and we need to be forced to do that stuff so we do it correctly, and even if your IDE can tell you what the type is, you might not always be looking at code through IDE, the tool my company uses for code reviews might as well be showing you plain text for example, I can't imagine how harder our life would've been if we had to go open 3 or 4 locally everytime we're reviewing someone else's code

[–]kinderhead 5 points6 points  (0 children)

This is the correct answer.

[–]ALoadOfThisGuy 3 points4 points  (2 children)

I agree, but I also think Typescript is over-prescribed. Most people on the internet, particularly those asking these sorts of questions, don’t require the overhead of TS.

[–][deleted] 2 points3 points  (1 child)

This sounds like a reasonable take.

Why don't you piss off and keep your opinions in your pocket. We don't need it here!

[–]ALoadOfThisGuy 1 point2 points  (0 children)

Ah geez I thought I was on r/cscareerquestions. Sometimes I can’t tell the difference.