Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

"Declarative code compiles to imperative code that's hard to debug, I'm not sure we're in a better place now than we were with jQuery" ThePrimeagen

140,477 görüntüleme • 3 yıl önce •via X (Twitter)

11 Yorum

Marc Grabanski profil fotoğrafı
Marc Grabanski3 yıl önce

I built TodoMVC in < 200 lines of code Then with lit-html it's even less lines of code with efficient DOM updates using simple template literals

ThePrimeagen profil fotoğrafı
ThePrimeagen3 yıl önce

I agree

EduardoRFS.tei profil fotoğrafı
EduardoRFS.tei3 yıl önce

@ThePrimeagen You don't debug assembly very often, so why is it relevant if the code is doing another compile pass? Assuming the semantics are preserved it just doesn't matter

piq and 69 others profil fotoğrafı
piq and 69 others3 yıl önce

@ThePrimeagen you guys moved away from jquery?

Dany Cam ⚡️🔥🇨🇦 profil fotoğrafı
Dany Cam ⚡️🔥🇨🇦3 yıl önce

@ThePrimeagen

MySmallfish 🇮🇱 profil fotoğrafı
MySmallfish 🇮🇱3 yıl önce

@ThePrimeagen New projects I use vanilla js. It’s just the same effort for much less heavy, debug right in the browser with nothing between me and the code and no quirks to cover up. Also using @statelyai xstate for more complex

Ravavyr profil fotoğrafı
Ravavyr3 yıl önce

@ThePrimeagen I made with just a vanilla JS class and methods. In the end, all of these things have to use vanilla JS at the bottom so why not start there to make something simple and reusable? [note, i've not updated it in two years, there's a few minor issues]

Marc Grabanski profil fotoğrafı
Marc Grabanski3 yıl önce

@ThePrimeagen Awesome!! 🙌

Anthony profil fotoğrafı
Anthony3 yıl önce

@ThePrimeagen UI peaked in Highschool. When Bootstrap was what everyone was talking about.

Josh Close profil fotoğrafı
Josh Close3 yıl önce

@ThePrimeagen I find React + TypeScript to be a nice sweet spot.

Marc Grabanski profil fotoğrafı
Marc Grabanski3 yıl önce

@ThePrimeagen What he said must have gone right over your head.

Benzer Videolar