News for hackers. Stuff that matters.
Re:Don't make me think, or why I switched to Rails from Java... by yawnxyz on Friday February 04, 2022 @10:38AM (#30208139)
I've settled with Svelte (SvelteKit and Sapper), after having spent lots of time with React and Vue.

Svelte works in a way that jives with how I think and work, and I've built enough components for myself that side projects now only take hours to design and build into working prototypes.

I think everyone needs to have a "home platform" where it's just mindless to get started. Regardless whether it's JS SPAs or Rails or raw HTML!

For handling data, it's either Supabase or Airtable's API, hands down. Tailwind for design system.

I've tried Rails before, but as a newbie to Ruby, I couldn't even figure out how to write for loops. To me, that was too foreign, and too much thinking involved. And with Rails, you need to run a server too right? That's even more not-mentioned work.

Re:Don't make me think, or why I switched to Rails from Java... by BenjiWiebe on Friday February 04, 2022 @01:42PM (#30211098)
I'm not new to Ruby but I don't know how to write a C-style for loop in Ruby either.

Ruby has iterators, so you don't need for loops.

list_of_things.each {|thing| thing.dostuff }

Re:Don't make me think, or why I switched to Rails from Java... by midrus on Friday February 04, 2022 @03:44PM (#30212884)
Settling with the latest newest and shiniest doesn't sound like settling at all.
Re:Don't make me think, or why I switched to Rails from Java... by sdesalas on Friday February 04, 2022 @01:22PM (#30210797)
I was wondering why nobody was mentioning Svelte and Vue. I find either of these two options is more productive than React or Angular anyday.