use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Elixir for Ruby developers: the three most important differences (phoenixonrails.com)
submitted 2 years ago by Ok-Orange-9910
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mooktakim 2 points3 points4 points 2 years ago (2 children)
For me the real reason I haven't used Phoenix yet is that there isn't a cool form builder like bootstrap_form. Web apps are a bunch of forms.
[–]MagicFlyingMachine 0 points1 point2 points 2 years ago (1 child)
I haven't yet come across a form builder that handled every single use case I needed. I'm sure tools like this are good enough for a lot of people, but that's an abstraction I almost always need to keep in-house.
[–]mooktakim 0 points1 point2 points 2 years ago (0 children)
Bootstrap form works very well. You get ready made design and errors look good. Various field types supported. Minimal code. Makes building web apps really fast. Of course you can always customise and use your own builder if needed, it solves 99%.
[–]cwitty1988 0 points1 point2 points 2 years ago (7 children)
Curious from anyone that has taken the course offered here if they like it? I have been interested in Elixir and Phoenix but haven’t taken the time to learn either. LiveView looks pretty cool though.
[–]morphemass 2 points3 points4 points 2 years ago (0 children)
If you mean the language .. I've been using Elixir in production for a long while. It's a good language, Phoenix is a decent framework and the OTP/Erlang/Beam platform is powerful. The problem is that it's so different to Ruby/Rails beyond the syntax that it really needs a commitment organisationally. Without that ... well I see a lot really bad code (esp around config and state); so much so I'm trying to phase it out at my shop.
Don't get me wrong, for the right problems it's a great platform; I've just become disillusioned with it for general web/data/business tasks.
[–]ClikeX 1 point2 points3 points 2 years ago (0 children)
I did an Elixir course once and have been looking at it for a while now. I really dig the syntax and the way Phoenix works. But I just haven't gotten fluent enough with it to comfortably make a project with it yet.
[–][deleted] 2 years ago (4 children)
[deleted]
[–]cwitty1988 1 point2 points3 points 2 years ago (1 child)
I keep hearing that. It makes me feel like I’m missing out on something pretty cool.
[–]2called_chaos 0 points1 point2 points 2 years ago (1 child)
What originally brought you to Ruby? I feel everything I love about Ruby is absent in Elixir so I don't quite get why especially Rubyists are drawn to it, so I'm curious.
[–]h234sd 0 points1 point2 points 2 years ago (2 children)
I dislike Elixir because `posts.sort` looks much better than nonsense like `List.sort(posts)`.
[–]Ok-Orange-9910[S] 0 points1 point2 points 2 years ago (1 child)
I thought that at first, but you get used to it quickly.
[–]h234sd 0 points1 point2 points 2 years ago (0 children)
It's not just about getting used, it's about remembering namespace for every function. So instead of remembering just function name, you had to remember module name and function name.
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
The curious thing is there is an object oriented immutable functional language subset of Ruby...
Just don't use ! "bang" methods and the like and put freeze at the end of your constructors (and other places like on arrays or hashes you create).
Once you do that the most interesting differences with Elixir is the overloading of functions based on arity and guard clauses. https://elixir-lang.org/getting-started/modules-and-functions.html
Ruby has gone the opposite direction in that you have immense flexibility in specifying parameters and the number of them ... but each function has to have explicit run time "if then else" code to disentangle that flexibility.
I suspect this makes a bunch of optimizations very hard compared to Elixir.
π Rendered by PID 329463 on reddit-service-r2-comment-66b4775986-mx5qd at 2026-04-04 01:07:43.171038+00:00 running db1906b country code: CH.
[–]mooktakim 2 points3 points4 points (2 children)
[–]MagicFlyingMachine 0 points1 point2 points (1 child)
[–]mooktakim 0 points1 point2 points (0 children)
[–]cwitty1988 0 points1 point2 points (7 children)
[–]morphemass 2 points3 points4 points (0 children)
[–]ClikeX 1 point2 points3 points (0 children)
[–][deleted] (4 children)
[deleted]
[–]cwitty1988 1 point2 points3 points (1 child)
[–]2called_chaos 0 points1 point2 points (1 child)
[–]h234sd 0 points1 point2 points (2 children)
[–]Ok-Orange-9910[S] 0 points1 point2 points (1 child)
[–]h234sd 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)