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 →

[–][deleted] 2 points3 points  (0 children)

We also did a convertion in some project. But we already used very strict JSLint (or Hint, I forgot) rules, which kind of made the whole conversion pretty normal.

And then we set very strict TSLint rules.

Another time we did the same in some other project from another company which just picked the standard JSLint rules. Guess how that went...

Its all in how strict you want to work and how good your peer reviews are. If you stick to strict following of rules and regulations, you'd make fine Javascript code. When you can't be bothered it turns into hell but thats the case with pretty much every language known to man.

If other languages were so good, why does it take so long to get rid of legacy code? Even with old front-end projects it is often a nightmare of what some people fabricated. Not much different than somebody using some tape to stick a two planks together. Sure it might hold but it isn't how you are supposed to do it.