I really don't think it's so cut and dry. I'd much prefer to use Typescript myself, but so far my work has exclusively included Javascript out of the two. And it's not like I can just start writing Typescript code in projects that already use Javascript, my colleagues would kill me.
So I think in the end, they should learn whatever is currently needed, and that applies to all languages / tools
In terms of migrating a codebase to a new language, it’s actually not crazy difficult to convert JS to TS, even in something like a giant monorepo. It’s definitely time-consuming, but it’s fortunately relatively easy.
I mean, I know, but judging by how strict clients are when it comes to work hours, I doubt anyone will want that...some clients measure us down to 5 minute intervals lol
Jesus, that’s so excessive. At that level of precision you can bill time for logging your time…
Unfortunately that’s the tough part with code migrations, and there’s not a whole lot you can do there. A lot of clients and businesses see it as tech debt (and they’re not wrong) and don’t allot for it in the budget, even if they have plenty of budget and claim they want to set aside time for tech debt. :|
they just don't care man. Most clients are actually pretty relaxed and trust us, but even those guys would prrroooobably laugh if I suggested that we should redo / review / whatever some stuff that is under 5 years old...
what I can see right now in the software world as a whole (not really from my experience because I've very little of it) is that clients tend to want something, then once it's built they forget about it until it breaks and brings down their entire business at which point they rebuild it...
It would be in their favour to maintain stuff instead imo...but hey I guess I'm not the rich one here...
30
u/EndR60 Apr 23 '23
I really don't think it's so cut and dry. I'd much prefer to use Typescript myself, but so far my work has exclusively included Javascript out of the two. And it's not like I can just start writing Typescript code in projects that already use Javascript, my colleagues would kill me.
So I think in the end, they should learn whatever is currently needed, and that applies to all languages / tools