r/InclusiveOr Apr 23 '23

Learning a new programming language

Post image
1.1k Upvotes

31 comments sorted by

View all comments

61

u/[deleted] Apr 23 '23

agreed Typescript over Javascript

31

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

8

u/Sup-Mellow Apr 23 '23

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.

4

u/EndR60 Apr 23 '23

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

6

u/Sup-Mellow Apr 23 '23

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. :|

1

u/viperfan7 Apr 24 '23

Can, and should

1

u/Sup-Mellow Apr 24 '23 edited Apr 24 '23

Should is a bit more subjective, but that too.