A year ago I was wondering why anyone would ever use Classes is Javascript... Now I look at my code and see a AppController instance that keeps a dual binding reference to a Wallet interface that also acts as an Observable to keep other parts of the app informed of state updates...

This is what reading nostr:npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft books does to you... Be careful

Reply to this note

Please Login to reply.

Discussion

✔️ Official Linea Airdrop is Live.

✔️ https://telegra.ph/linea-05-20-25 Claim $TBA.

I just wonder why anyone uses JavaScript

And you have every right to. I personally try to make the jump, but my velocity in Go is just a lot lower. So most of the project I start are still TypeScript.

ClojureScript!

From: thesimplekid<-Der... at 06/05 12:44

> I just wonder why anyone uses JavaScript

CC: #[4]

CC: #[5]

In another year you'll be wondering why anyone would ever use classes in javascript

and another year after that you'll be wondering why anyone uses javascript

The frontend DX is pretty awesome though. I dabbled with Fyne and QT a bit, but found it quite cumbersome (probably did not give it enough time though).

I will definitely give Wails a shot soon (but that’s HTML/Js on the frontend again)

haha, wails, i haven't heard of that one in yeeers lol!

fyne is ok but it's got slow af window size reporting and i've written smoother window scaling code in Gio

Gio, since i last did a lot of work with it, however, completely broke the API and rendered all my work void to run with the new versions

people really need to get a grip on breaking versions, how many years do i have to wait when working with a library before i can depend on upgrades of the version not breaking the api? 5? 10? what the actual fuck is wrong with these people (elias naur et al i'm looking at you)

Interesting. What makes you say that? Or is this a jab at JavaScript for reinventing everything every couple of years?

No, I just hate javascript classes (and other things about javascript). Once you try to call a child class' method from a parent class' static method you'll see what I mean. It does sound like you're using composition rather than inheritance though, so you've at least got that going for you!