by ahmaman on 1/21/22, 11:42 AM with 21 comments
RoR and Djano seem to be frequently recommended, any thoughts? Other ones come to mind, maybe Clojure?
For some reason RoR doesn't seem to be as popular where I live (Finland) though.
by johntdaly on 1/21/22, 11:57 AM
My background: I was a Python dev that worked PHP because that was the jobs I got (more than 10 years ago) and decided to invest more into JavaScript (2007) because I though it was going to be the future. When I couldn’t stand PHP anymore I got a Ruby job (because, still no Python web jobs back then) and it changed me fundamentally. I love Ruby and Rails till this day and Ruby, JavaScript and Python form the backbone languages.
by kadomony on 1/21/22, 2:23 PM
It’s also an amazing choice for launching an MVP because it handles, well, near everything.
For a novice developer, it’s one of my top recommendations for getting experience across the full gamut of web development.
by karmakaze on 1/21/22, 5:39 PM
Being not as popular as Ruby/Rails I wouldn't recommend it for anyone who isn't comfortable researching some answers that aren't immediately found in search results.
by rozenmd on 1/21/22, 1:28 PM
While I wouldn't personally use it for my own projects (since I'm productive in React/Node), if I had to start fresh again with what I know now, I'd pick Ruby on Rails.
by weatherlite on 1/21/22, 12:46 PM
by ptttr on 1/21/22, 3:26 PM
Clojure has been a perfect fit for my needs, very similar to what you describe, and neither Rails nor JS have been able to match that.
With Clojure/Clojurescript you get:
- sane, single lang for both backend and frontend (much more seamless than JS/node),
- REPL-Driven-Development - immediate feedback loop translating to huge productivity boost,
- a very refreshing approach to programming,
- access to both two largest ecosystems JVM, npm and of course clojure's own amazing libraries,
- vibrant and diverse community, converging people from all different programming backgrounds,
- much, much more.
Rails and Django are a bit tied to 2005ish MVC paradigm and while it's reliable and gets job done, it comes with compromises on flexibility and user experience - making it hard to be competitive in 2022 as a solo founder. Clojure on the other hand is known for empowering single/few developers to outcompete much larger teams.
Seriously, forget about Rails and Django and just focus on Clojure.
by jmarchello on 1/21/22, 8:17 PM
The creator of rails recently wrote a great article on how Rails is the perfect choice for solo founders here: https://world.hey.com/dhh/the-one-person-framework-711e6318
I also recently wrote a short article about how enjoyable it is to work in Ruby and Rails here: https://jmarchello.com/a-love-letter-to-ruby-and-rails
If you have any questions or want to talk more about learning Rails, DM me on twitter @j_marchello. I'd love to help.
by andrewdubinsky on 1/21/22, 2:54 PM
Hotwire is new, but it seems to cover the gap between applications that need modern front-end components, but don't need all the react/api/etc...
by dyeje on 1/21/22, 2:37 PM
by richardkmiller on 2/1/22, 3:34 AM
I think it's also worth looking at the Rails front-end story. StimulusJS is one of my favorite parts of the Rails stack (though totally usable elsewhere). Instead of ever again writing an event listener in JavaScript, you can write it inline in your HTML, using data-* attributes. It is to JavaScript what Tailwind is to CSS. I heard DHH in a podcast talk about the value of seeing your actions directly in the HTML, not needing to open your JS file to know what's going on. Stimulus and also Turbo definitely have an interesting place in the world and are extremely powerful when they're a good fit. On the other hand, I've still had use for React at times.
Outside of Rails, I'm excited to try Remix (https://remix.run/) because of its batteries-included approach and what seems like a novel approach to server-side rendering without all the work.