Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
yehaaw26044y@spongessuck I can’t see anything other taking over frontend development, but something, such as, TS with additional improvements upon JS, just might do the job.
WASM seems great, but the chances are slim. Ecosystem for JS/ TS is already in place and gradual move away from JS with TS could have a great impact.
Idk, I’m rambling bs. -
yehaaw26044y@rooter Bigger projects require structure, documentation, right optimisations and readable implementations for future dev’s to read, understand and develop on top of. In my opinion, JS sucks at that.
Other then that, I do agree with you -
Sumafu22484ySometimes I wish that browsers understand TS natively, also. But now I realize that this wouldn’t be good. Now TypeScript can be improved very fast. Microsoft can just release a new version. With native browser support, this wouldn't be possible. Every update would take months and years to be usable in every browser.
-
yehaaw26044y@Sumafu Demn, you’re right, however, JS also doesn’t have all the features available on every browser (and every version) at all times.
Gradual transition is still something. Look at JS early years or piece of sh*t jquery we used to use and praise. -
There's already talks of "native typescript," a la deno. I'd be for it, with some tweaks. That said, the engine authors would have a task in front of them reinventing certain wheels. I'd be cautious about adopting it before they finalize a pattern matching story.
Higher kinded types are also unfortunately a pipe dream. -
alert2504y@rooter it's because the language allows them to
Also they're too worried about callback hell -
@alert Agreed, if it was more along the lines of Flow or TS, more people wouldn't be that careless about using the right types.
TypeScript should be its own language and not a “wrapper” for JS.
question