1
Cute Discussion / Re: Appreciation Wednesday
« on: July 17, 2026, 12:56:49 AM »I mentioned Vue SFCs a while back which scratched a similar itch for me. Who knew that three languages in one file could feel so good?
Yeah! I was disturbed when I saw how angular did it back when I last worked with it (3 files!!! zomg!!! no thank you!!!) maybe it's closer to the vue approach now... web framework i had most expertise in was react, i really like their approach to dom + logic. but i saw like 4 different frameworks for applying CSS to components, and never really spent enough time with react outside of work to decide which one was the nicest.
Somehow I struggled more in Java in deciding when to use abstract classes vs interfaces, or even inheritance vs composition. Too many options for me.
I really relate to this--TS gives you sooooooo much flexibility (arguably too much), but I think after 8 years I am finally narrowing in on my preferred approaches haha. It feels like a lifetime ago that I programmed in Java, but I mostly preferred inheritance. after i Becamed A Professional i started picking up more composition techniques though. i feel i regularly used some pretty wack features in java (anonymous classes is one that comes to mind)
I still haven't played with TS. If I start a new JS project, I should give it a go.
TS is my fave if you couldnt tell... if you're already bundling (which if you're writing for the web, then you probably are) it might be pretty plug and play. and i think you can configure which compiler rules you care about the most. (i have a feeling you can't opt out of some of them or something, though!) i have found myself unable to perform at jobs where i inherited JS code, but i have spent almost 15 years working in strongly-typed languages


