Lurker News

Comments (438) 69 threads

Earlier comments
yodasays#
Explicit is better than implicit.
dorianm1 reply#
TLDR: People don't do what I want them to do. They don't think the way I want them to think. And my way of thinking is way better than theirs.
cwyers#
Alternatively: Rails doesn’t believe in doing anything that would make it anything resembling modular so people who don't agree on everything can still work together easily.
frostymarvelous#
This is simply why I've never liked Laravel. Don't get me wrong, I love the packages esp. Eloquent and Blade (validaton and translation not far behind) and I reuse them in all my projects now.

I simply hate the "magic". I don't touch anything with too much magic going on and even avoid some features of Eloquent because of that.
And since it is heavily inspired by rails...

Nemant5 replies#
What is a good alternative?
biokoda#
As mentioned multiple times in this thread: Elixir and the phoenix framework
phonon1 reply#
Django.
antod#
Although the writer was a fan of DataMapper. I imagine the Pyramid/SQLAlchemy combo might appeal more to them.
thawab#
There is no good alternative without specifying the use case. In the main article he is looking into Elixir, Clojure and Haskell, because it fits what his working on.
robto1 reply#
He mentions it at the end, but I'd strongly agree that Clojure addresses the issues he mentions. I see a lot of discussion in this thread about Elixir and Phoenix, but I'd take another look at Clojure.

It's got a strong, friendly ecosystem that encourages small, composable libraries. For every level of your application, there's competition - http servers, sql abstractions, front end libraries. And there's great resources to help you choose what works best for your use case - the Luminus docs, books, blogs, and several active forums for discussion with library owners and just regular developers.
Couple that with a community that really took Rich Hickey's "Simple made easy" talk to heart and the default immutability and functional paradigm and the abstractions that Clojure itself has to offer, not to mention the performance the JVM brings to the table, and I think it's a great language to hang your hat on in the long haul.

Naomarik#
I'm going Clojure route and in it for the long run. Being able to eval any single piece of your code in a REPL direct from your IDE in the context of your app is just insane. Also having one single language for JavaScript and JVM is super useful.

Also after programming for 4 years a bit I've felt the core of programming beyond CRUD/consuming APIs is about manipulating data structures. Having powerful utilities for this and not having to shove everything into classes and objects makes it really easy to get stuff done. Going back to Ruby feels like I'm working with a kludge in comparison. Everything that doesn't need to be a class is one, then you get caught up in naming things. Then you try to debug things to end up with an object that has 500 methods on it and you don't know where half of them came from because they were metaprogrammed in through 10 layers of indirection. Yesterday I tried upgrading to Rails 5 and gave up because I couldn't debug an outdated library in 6 hours without realizing I have to figure out what this library and ActiveSupport/Model is doing in order to make headway. Ain't nobody got time for that.

incepted#
Java (or better, Kotlin) coupled with DropWizard (or Jetty or Tomcat).

Load more comments