News for hackers. Stuff that matters.
Re:Ask HN: Simplest stack to build web apps in 2021? by dougbarrett on Monday November 22, 2021 @11:41PM (#29314680)
I'd argue against that. Recently, I tried making a few test apps with Phoenix and Rails to get my feet wet with something different (I write Go, Java and PHP in my day job), and with Phoenix I ran into a few issues getting the environment set up, the guide doesn't seem to be as coherent as the Rails dev guide, and there is no matching the resources available for Rails compared to Phoenix.

It'd be great to see that change over time, but to be honest I'd be more excited to see some movement behind the crystal lang, because I love coding in Ruby. All of my side projects are now being written in Ruby because I don't need something that scales in microseconds, or 10's of milliseconds for that matter, and I feel so much more productive.

Again, I hope I'm proven wrong. I think Phoenix has a lot of potential, but it still has a long way to dethrone Rails.

Re:Ask HN: Simplest stack to build web apps in 2021? by engineerDave on Thursday November 25, 2021 @12:19AM (#29338432)
Not a knock on you but maybe you're too new to Rails too.

I've been using Rails for 10+ years now and setting up a phoenix app is very intuitive. A lot of "oh this is like X in Rails". IME most of the complexity was around JavaScript and that's changed with esbuild.

However it sets up with very similar patterns to Rails. Something I'd expect as it's creators came from Rails. Usually the differences are specific to FP vs OO.

Admittedly coming in from another language especially with an OO background would be harder as it's a smaller community than Rails and doesn't have 10 years of documentation sitting out there. That said documenting elixir code is much easier IMO, so that is sure to change. Also the scope of FP languages requires significantly less documentation IME.

The only thing vs Rails that I have found somewhat needing more attention in Phoenix is SSO integration but it's there and progressing especially with the Phoenix 1.6 changes.

Re:Ask HN: Simplest stack to build web apps in 2021? by rixed on Tuesday November 23, 2021 @01:53AM (#29315224)
You'd argue against using a framework for a project because you encountered a few issues (which ones?) setting up the environment, and recommend another one because you love coding in ruby?

Do you realize how biased you sound to be?

Re:Ask HN: Simplest stack to build web apps in 2021? by mmdoda on Tuesday November 23, 2021 @03:55AM (#29315892)
He's arguing from his opinions and experiences. Say he is biased, is true but irrelevant. (Water is wet)
Re:Ask HN: Simplest stack to build web apps in 2021? by Mikeb85 on Tuesday November 23, 2021 @10:39AM (#29319058)
The original post literally asked for a framework that's "simple and joyful" to develop in. So subjective (biased) opinions definitely matter on this one...