News for hackers. Stuff that matters.
Re:Hasbro laying off Wizards of the Coast staff is baffling by paulddraper on Sunday December 17, 2023 @02:58PM (#38675834)
> getting your app to run on other platforms is as simple as embedding your operating system into WASM and putting it in their browser

???

Re:Hasbro laying off Wizards of the Coast staff is baffling by solardev on Sunday December 17, 2023 @04:59PM (#38676890)
I'm kidding, but sometimes it feels like that. Javascript is never just Javascript.

It depends on whether you use Typescript (with tsc or tsx or esrun?).

It depends whether you use V8 or Node or Deno or Bun.

It depends whether you're using AWS Lambda or the Serverless framework or a Cloudflare Worker or a Vercel or Fastly edge function.

It depends whether you use vanilla or HTMX or React or Next or Vue or Nuxt or Svelte or Astro or Remix or Angular or or or.

Then if you go native, it depends whether you use React Native and Expo and Electron and Tauri and and and.

Somehow we went from a universal language that can run in all web browsers to a hundred mutants that each only work in some niche...

I've never seen two Javascript codebases that looked the same :/ Every one is like a new archeological dig. Sure, you can still find some identifiable generic pottery fragments and such, but somehow they managed to build an entire civilization in a totally different way from the one next to them, using technologies that no longer exist just a few years later.

Re:Hasbro laying off Wizards of the Coast staff is baffling by paulddraper on Sunday December 17, 2023 @06:45PM (#38677598)
> I've never seen two Javascript codebases that looked the same

I think you may have described every programming language.

Except maybe Go

Re:Hasbro laying off Wizards of the Coast staff is baffling by solardev on Sunday December 17, 2023 @06:49PM (#38677627)
Probably JS was a victim of its own success in this regard, being both incredibly popular and incredibly long-lived, which drew hordes of amateurs (myself included) in. We all re-invented the wheel, though in my case it was more like an oblong hexagon =/ I rolled with it... but I feel terrible for anyone who has to maintain my old code after me, lol.
Re:Hasbro laying off Wizards of the Coast staff is baffling by marcosdumay on Monday December 18, 2023 @09:00AM (#38682584)
Most languages have perfectly functioning wheels right there installed and ready for use.

People keep reinventing the wheel on javascript because it doesn't have any.

Re:Hasbro laying off Wizards of the Coast staff is baffling by kuschku on Monday December 18, 2023 @04:50AM (#38680755)
True, but Go codebases only look the same because there's only so many ways to make a neolithic handaxe.
Re:Hasbro laying off Wizards of the Coast staff is baffling by Garlef on Monday December 18, 2023 @03:42AM (#38680380)
that's why JS/TS is to easy to hate: it's got a lot of surface area.
Re:Hasbro laying off Wizards of the Coast staff is baffling by numbsafari on Monday December 18, 2023 @02:44AM (#38680105)
May you descend into the Inferno…