News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by andrei_says_ on Saturday May 15, 2021 @07:44PM (#27169967)
I have also stopped trying to discourage people from cargo culting facebook’s stack for their 3-person teams or even solo. If someone insists on 10x the complexity and 100x the work, let them.

JavaScript is becoming bearable but still too painful for anyone who has touched ruby for example.

Meanwhile I’m learning closure and loving every second of it.

Re:Modern Javascript: Everything you missed over the last 10... by reader_mode on Saturday May 15, 2021 @09:57PM (#27170576)
Haha ruby of all things. The language where they create aliases in standard library to make the code "read like natural language"... With a framework that promotes mixins as a service layer/code sharing abstraction and fat models/controllers.

I get not wanting to start with a super complex stack, but Ruby and Rails are the worst mainstream framework maintainability wise it's obvious why it fell out of favour.

Re:Modern Javascript: Everything you missed over the last 10... by TeeMassive on Sunday May 16, 2021 @12:11AM (#27171163)
I've heard someone describe Ruby On Rails as: "lots of great magical wands that make great palaces appear out of thin air but always ends up spawning dragons you have to fight"
Re:Modern Javascript: Everything you missed over the last 10... by inopinatus on Saturday May 15, 2021 @09:26PM (#27170439)
I will pipe up for client-side TypeScript in conjunction with Ruby-based services. I’ve been contributing PRs for Hotwire and it is the first time in 25 years I didn’t actively resent working in JS of any dialect.
Re:Modern Javascript: Everything you missed over the last 10... by andrei_says_ on Sunday May 16, 2021 @06:56PM (#27177917)
Thank you for your contributions. I am super excited about Hotwire - and spending less time doing more.
Re:Modern Javascript: Everything you missed over the last 10... by 8note on Saturday May 15, 2021 @07:56PM (#27170030)
I find the Facebook stack to have a lot of boilerplate, but overall it's very simple rather than complex.

You always know exactly how to implement what you want, without having to think very hard.

You can do something small by yourself by writing less code, but using less code makes it more complex since you have to think a lot harder to understand the code when you come back to it in a few years

Re:Modern Javascript: Everything you missed over the last 10... by TeeMassive on Sunday May 16, 2021 @12:25AM (#27171232)
Reminds me of this talk https://youtu.be/gfh-VCTwMw8