#Studying Java/Spring after several years of JavaScript inspired me this
1 messages ยท Page 1 of 1 (latest)
Javascript is miserable for me ๐ญ
I'm struggling to get web workers to play nice with WASM right now, LOL
I agree to say that I don't give a damn about JS in the long term...
and I thought I could do a good deed today ๐ฅฒ
Sadly it's not going away any time soon
The only reason I use javascript: we don't have another language native supported in browsers ๐
what about wasm?
Euhm yeah I guess I should look into that ๐ hard to change habits after 20 years
Wasm is a totally different animal, speaking as someone who frequently writen C++ compiled with emscripten. For one, you still need some Javascript to start the WASM module, and, AFAIK, interacting directly with page elements from WASM would need an underlying JS eval call.
WASM is very nice for greatly speeding up computationally heavy tasks, though.
Yes, we can see the work that this can require between the JS and the modules to orchestrate. Depending on the choices of services dedicated to one or the other this can surely be hell or paradise.
I wonder what shape the web will take in the coming years.
and what does this mean
walking over mountains is hard
walking through jungle is hard
Yeah I don't get the original meme either lol
Javascript is beyond shit, use typescript
by which i mean add little type hint comments everywhere
const pr /*:Promise<void>*/ = new Promise(...);
let index /*:number*/ = 12;
And after 2 months github copilot will learn these wicked ways and start doing it for you
you can just use JsDoc instead ^-^"