Re:Where is Ruby Headed in 2021?
by regularfry on Friday November 19, 2021 @10:01AM
(#29277847)
Once you have more than one team in the same codebase the opinions start to line up as people start to think the types will save them from stepping on each others' toes. Which it might! Publishing types is also a poor-man's contract testing, so people who like that sort of thing will like that sort of thing.
I have implemented a JavaScript virtual machine. I feel confident in my knowledge of JavaScript as a language and as an operating environment.
What power am I no longer able to leverage using TypeScript when it's appropriate to do so?
Re:Where is Ruby Headed in 2021?
by joelbluminator on Friday November 19, 2021 @07:17AM
(#29276428)
Why the downvoting? You somehow upset the typed mob I guess...
Although TypeScript can be added incrementally, in practice I've only seen it totally replace JavaScript.
While I do believe more people prefer TypeScript over JavaScript, I think it's because those people never deep dived JavaScript or bothered to learn it enough to see how powerful it really is. There are also people that just prefer typed languages and will shun languages without static types.
This really is a religious war and boils down to one's opinion. I like JavaScript without typing.