Hacker News new | ask | show | jobs
by 1_player 2541 days ago
> Phoenix LiveView (not released yet), which I personally think pulls the strengths of Phoenix together in a way that can truly disrupt web development. It’s very difficult to do what LiveView is doing on other tech stacks.

LiveView still needs more work to be really ergonomic, wouldn't work for all use cases, but I'm personally holding my breath here in excitement to adopt it in my Elixir projects.

Still, I find it ironic that the next server side web technology leap, after the famous Rails demo referenced in the article, comes from another Ruby-inspired language.

2 comments

I've been using LiveView for a small project. It's pretty bumpy right now, but man it's going to be a game-changer for me.
Elixir isn't really Ruby inspired though. The only thing about it that really derives from Ruby is the focus on developer productivity.
The syntax is heavily inspired by Ruby.
Having written Elixir every day for the last 5 or 6 years, and Ruby for the 10 years before that I don't think it is.
I have also written Elixir in the last years, after 10 years of Ruby, and the syntactic similarities are obvious to me. Luckily you don't have to take my word for it, as the author of Elixir said multiple times that, while Elixir is not about syntax, its syntax was inspired by Ruby.
That is what I was getting at. Having people who came from the Ruby world and some very mild surface level bits is all that's there.

The issue I have with the statement is that it pulls all of the negative connotations that some people have with Ruby onto Elixir...and Elixir is not at all like Ruby.

What, the words def and do?
Jose himself has cited ruby for syntax inspiration multiple times, because he himself started in the ruby community
It’s hard to say it’s not inspired by Ruby when Jose and many of the core contributors came from the Ruby world.

It’s not at all the same thing as Ruby on Beam though - it’s a very different language, but it does borrow a lot of good ideas from the Ruby ecosystem while improving on them in many ways.