Live data from Hacker News

Hanami 2.0

hanamirb.org

1–10 of 50 posts

Re: Hanami 2.0

#4
This is great!

I love Rails but have used Sinatra and Padrino in the past. The knowledge you get using these frameworks can sometimes be brought back to your Rails apps to improve some things.

I hope I can have some time in the near future to use Hanami in a real world project.

Congratulations to the team.

Re: Hanami 2.0

#5
It looks clean because the developers are also the people behind dry-rb. However, I made one production service in Hanami and never again. They put clean syntax above all else. This results in a TON of metaprogramming with very weird results. There were times when a variable name I was using in my code was conflicting with a method called in one of the many `instance_evals` to achieve such "dryness" I really do like the structure though with repositories for data.

Overall I think the focus with clean syntax/DSLs in Ruby projects with pervasive metaprogramming is one of the reasons the code is so hard to maintain.

Re: Hanami 2.0

#6
post #5

It looks clean because the developers are also the people behind dry-rb. However, I made one production service in Hanami and never again. They put clean syntax above all else. This results in a TON of metaprogramming with very weird results. There were times when a variable name I was using in my code was conflicting with a method called in one of the many `instance_evals` to achieve such "dryness" I really do like…

    Overall I think the focus with clean syntax/DSLs 
    in Ruby projects with pervasive metaprogramming 
    is one of the reasons the code is so hard to maintain.
I don't have any opinion on Hanami and don't want to bring any negativity to the Hanami 2.0 party. Congrats to the team on this release!

However, in general, I wholeheartedly agree with your statement. Sometimes Ruby frameworks get way too cute with the metaprogramming.

Re: Hanami 2.0

#7
post #5

It looks clean because the developers are also the people behind dry-rb. However, I made one production service in Hanami and never again. They put clean syntax above all else. This results in a TON of metaprogramming with very weird results. There were times when a variable name I was using in my code was conflicting with a method called in one of the many `instance_evals` to achieve such "dryness" I really do like…

[deleted]

Re: Hanami 2.0

#8
post #3

Looks really nice. Makes me wish I worked in Ruby, a little.

Well you can if you want. There's a lot of Ruby projects that are looking for contributions.

Id appreciate if you shared some links or project names. I know it’s a web search away but it sounds like you have some projects in mind. :)

Re: Hanami 2.0

#9
post #3

Looks really nice. Makes me wish I worked in Ruby, a little.

Well you can if you want. There's a lot of Ruby projects that are looking for contributions.

>Well you can if you want.

Oh, yes, of course. But I am only willing to work for 6-7 hours a day, 5 days a week and my employer pays for them all. Working outside that... nah, no need.

Re: Hanami 2.0

#10

Looks really nice. Makes me wish I worked in Ruby, a little.

As an aside, working in Ruby is really great. It really prioritizes developer ergonomics and makes for a pretty joyful code writing experience.
Post reply on HN