frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: DHH on Lex, a multi-hour ode to Ruby on Rails, but is it any good?

1•oleksandr_dem•7h ago
Over the past few days, I've been listening to Lex interview DHH (just the programming parts, I'm not particularly interested in his views on other topics).

It's not the first time I've heard people praising Ruby on Rails, but every time I look at the documentation, I find myself thinking, "I don’t get why people are into this.".

My main critiques of Ruby are: - The syntax isn't great: it uses a lot of special characters, which makes writing the code slower. - No static types: when I first started programming, dynamic typing (like in JavaScript) seemed cool. But after working on large enterprise projects, there’s no way I’d choose a dynamically typed language again (Based on what DHH says, that probably makes me a "bad developer").

I haven't tried it myself, mainly because using a programming language for a side project versus a professional product is a completely different experience (someone might try JavaScript and argue it’s better than TypeScript, until they have to refactor something).

So I'm wondering, is this one of those cases where a tool is mainly used by a passionate niche, so all the feedback is positive? Or is Rails really as good as DHH says it is once you get into it?

Comments

codingdave•6h ago
I can't find it anymore, but I remember way back when Rails first launched, DHH saying something along the lines of: "I don't know databases, so I found one way that worked and ran with it as an ORM." I'm sure the dude has learned more since then, so Rails has improved, but if you are asking if you should listen to DHH, you need to know that he is a pragmatist, not an idealist. That is not a bad thing... but if you are an idealist, it would explain why his work does not appeal to you.
oleksandr_dem•5h ago
I'm not doubting DHH skills as web developer, actually, the reason I've dedicated my time listening to the podcast and writing this post is because I kind-of see his point. However, during my 10 years career (which is nothing compared to DHH, and I'm not saying that I'm right and he is wrong) I've learned what works and what doesn't (at least for me). And looking at Ruby on Rails my feeling is that it shouldn't work, but as stated in the post description, I've heard different people saying that Ruby is great- And so I'm wondering if they are just a small niche group or if it is as good as people say it is.

> "I don't know databases, so I found one way that worked and ran with it as an ORM"

This doesn't really play in favor of Ruby on Rails, the same applies to Typescript and Java (and I'm quite sure to any language that is popular with web developers).

aeonflux•6h ago
Types are helpful in large codebases, but in Web Apps they tend to get into the way more than they help. You can still use semi-typed constructs in Ruby, but you have the freedom to choose where you need them.

After moving to writing web in Go (from Ruby) I am still baffled how much more boiler plate there is and how much slower things move because of this. Types are great when you want to refactor some things, but thats just part of the job.

In Ruby I loved how can you just quickly jump into REPL or just do inline breakpoint to inspect state: `scope.map(&:names).last.tally.sort_by(&:last).reverse.first(10)`

Something like this is such a chore in Go that I simply skip it more often than not.

> it uses a lot of special characters, which makes writing the code slower

I don't get this part. What special characters?

oleksandr_dem•5h ago
Unfortunately I don't have much experience with Go, I did try it for the sake of trying it, and I see your point, it is a bit more complicated to write code compared to JS/TS (two languages I know very well) or even Java (disclaimer: I think Java sucks).

> I don't get this part. What special characters?

For example let's look at this code:

```

class ProductsController < ApplicationController before_action :set_product, only: %i[ show edit update destroy ]

  def index
    @products = Product.all
  end
...

```

You can see a bunch of special characters: < : , % [] @

For example, if I wanted to write the same code in Typescript, based on my setup I might just need do something like this:

```

instance.get("/products", () => ProductsRepository.find());

```

Where instance is my router instance (fastify, express, whatever) and ProductsRepository is a TypeORM repository. My before_action might just be a middleware I pass to the callbacks chain or register as global middleware

Julian LeFay, Father of the Elder Scrolls and demoscene pioneer has passed away

https://twitter.com/OnceLostGames/status/1947867062216626313
1•g4v75o•1m ago•0 comments

AppleCare One launches as a single plan to cover multiple Apple devices

https://appleinsider.com/articles/25/07/23/applecare-one-launches-as-a-single-plan-to-cover-multiple-apple-devices
1•busymom0•2m ago•0 comments

For those who run Fedora as a server (versus CentOS/Alma/Rocky), why?

https://old.reddit.com/r/Fedora/comments/1m6pwfs/for_those_who_run_fedora_as_a_server_versus/
2•sipofwater•3m ago•0 comments

Explore Kinabalu Park and More UNESCO World Heritage Sites

https://blog.google/outreach-initiatives/arts-culture/kinabalu-park-unesco-world-heritage-sites/
2•gnabgib•3m ago•0 comments

Major Rule About Cooking Meat Turns Out to Be Wrong

https://www.seriouseats.com/meat-resting-science-11776272
3•voxadam•8m ago•0 comments

FCC proposal aims to Nix long-term gigabit internet speed goals

https://www.tomshardware.com/tech-industry/fcc-proposal-aims-to-nix-long-term-gigabit-internet-speed-goals-pricing-analysis
4•NN88•9m ago•1 comments

Silicon Valley AI Startups Are Embracing China's Controversial 996 Work Schedule

https://www.wired.com/story/silicon-valley-china-996-work-schedule/
4•pranshum•11m ago•1 comments

Notable People (Map)

https://tjukanovt.github.io/notable-people
2•rmason•12m ago•1 comments

How to increase your surface area for luck

https://usefulfictions.substack.com/p/how-to-increase-your-surface-area
8•jger15•16m ago•0 comments

Show HN: I built a place where product makers can anonymously confess their sins

https://confessionsrepo.com
3•gigamick•16m ago•0 comments

Ask HN: What NAS (Synology) do you use in your home lab as a developer?

4•lavren1974•18m ago•2 comments

PulseTimer – AI-Powered Work Timer with Smart Presets and Privacy-Focused Design

https://timer.toxi360.org
2•toxi360•18m ago•1 comments

Graph-based vector indices explained through the "FES theorem"

https://blog.kuzudb.com/post/vector-indices/
4•semihsalihoglu•18m ago•1 comments

Why Do Victims of Massacres Go to Their Deaths?

https://www.benlandautaylor.com/p/why-do-victims-of-massacres-go-quietly
16•jger15•20m ago•4 comments

It's a Beelink, Baby

https://world.hey.com/dhh/it-s-a-beelink-baby-243fdaf1
3•0xedb•21m ago•0 comments

Wayback 0.1 Released

https://wayback.freedesktop.org/news/2025/07/23/wayback-0.1-released/
2•wicket•22m ago•0 comments

Trump administration ramps up its campaign against colleges

https://www.cnbc.com/2025/07/23/trump-harvard-michigan-dei.html
7•standardUser•24m ago•1 comments

Chris Marker's 'Dialector' Foreshadowed Machine Intelligence

https://www.frieze.com/article/paul-chan-chris-markers-dialector-244
2•kosmavision•25m ago•0 comments

Building low-feature apps is good source of calm

https://www.indiehackers.com/post/low-feature-apps-finding-peace-in-the-noise-18121be559
3•Norcim133•27m ago•0 comments

The Case for Sabotage

https://collectiveactionintech.substack.com/p/the-case-for-sabotage
4•thunderbong•27m ago•0 comments

Microsoft SharePoint victim count hits 400 orgs in ongoing attacks

https://www.theregister.com/2025/07/23/microsoft_sharepoint_400_orgs/
6•rntn•29m ago•0 comments

The soft body physics of JellyCar

https://www.gamedeveloper.com/programming/deep-dive-the-soft-body-physics-of-jelly-car-explained
3•jcalx•29m ago•0 comments

Employee – CEO pay gap historically wide

https://www.cnn.com/2025/07/23/business/afl-cio-executive-paywatch-report
5•e12e•30m ago•0 comments

Kafka, the first AI Employee

https://www.usekafka.com/
2•gfortaine•30m ago•0 comments

MLX-GUI v1.2.4 Private AI API for Apple Silicon (Chat,Audio,Embeddings,Vision)

https://mlxgui.com/
2•RamboRogers•31m ago•1 comments

Optimists Are Alike, but Pessimists Are Unique, Bran Scan Study Suggests

https://www.scientificamerican.com/article/optimists-are-alike-but-pessimists-are-unique-bran-scan-study-suggests/
5•Bluestein•32m ago•1 comments

We built the AI RPA – create cloud-hosted browser agents with a visual builder

https://www.runcopycat.com/
4•gsabin•32m ago•0 comments

TheProtector: Bash Based

https://github.com/IHATEGIVINGAUSERNAME/theProtector
3•lotussmellsbad•33m ago•1 comments

Why spotting cosmic visitors is harder than you think

https://theconversation.com/could-the-latest-interstellar-comet-be-an-alien-probe-why-spotting-cosmic-visitors-is-harder-than-you-think-261656
3•speckx•33m ago•0 comments

URL to PNG

https://jasonraimondi.github.io/url-to-png/
3•LorenDB•35m ago•0 comments