Developer tools · programming language
Ruby
Hacker Approved
Recommended as an elegant, expressive language that makes developers happy and productive, especially for scripting and glue code; critics say metaprogramming and dynamic typing make large codebases hard to follow.
Summarized from 731 comments.
Recommended as an elegant, expressive language that makes developers happy and productive, especially for scripting and glue code; critics say metaprogramming and dynamic typing make large codebases hard to follow.
- recommend
- 359
- criticize
- 162
- months recommended
- 13 of 13
- median owned, 38 owners said
- 15 years
Why people love it
Elegant, expressive, joyful to write · 7
Ruby is the most elegant and expressive general purpose programming language that has reached a significant level of maturity and large audience.
May 2026 · commentRuby's syntax is pretty accessible and powerful and Matz was explicit about having developer happiness as a design goal.
Dec 2025 · commentone of the most pleasant and elegant languages I've used… but the footguns it comes equipped with rival those of Perl.
Nov 2025 · commentFast development and productivity · 4
Languages like ruby and python are not fast, but their syntax is so straight forward, the effort to go from a to z is a fraction of other languages
Dec 2025 · commentType free languages like Lisp, Python and Ruby have faster software development times than languages that use types.
Dec 2025 · commentIf our competitors voluntarily choose to use tools that are demonstrably less productive, that's great news for us.
Dec 2025 · commentGreat for scripting and glue · 5
Ruby's FileUtils#sh (combined with %W{} array literals, %x{} output capturing and regular #{} string interpolation) provides a pretty low-impedance interface.
Aug 2026 · commentamenable to modern development practices and tools like source control and off the shelf text editors, and usable for Unix scripts
Nov 2025 · commentI use it for prototyping, oneliners for ETL and to glue different moving parts in a system or network together
May 2026 · commentPowerful metaprogramming and flexibility · 3
Python is generally slower, uses significant whitespace in its syntax, and lacks the metaprogramming features of Ruby
Dec 2025 · commentThe ability to cleanly remold any part of the system with minimal friction, to suit the app you're building right now
Nov 2025 · commentRuby, and Ruby on Rails is a treasure trove of little handy bits you can use if you just know where to look.
Nov 2025 · comment
What people warn about
Hard to read others' code · 4
the terse syntax combined with lack of static types and regular use of generated identifiers turns large codebases into Where's Wally
Nov 2025 · commentBeing able to open any class (or object) and add new methods to it makes tracking how execution works extremely difficult.
Aug 2026 · commentI feel like a damn genius when I write it, but want to pull my hair out when I have to read someone else's code
Nov 2025 · commentFootguns from mutability and monkeypatching · 4
Everything being mutable by default, including strings, is about as big a foot gun as you can find in a high level language.
Dec 2025 · commentSee languages like Ruby or JavaScript, which are memory safe but not sandboxable due to all the monkeypatching they allow.
May 2026 · commentone of the most pleasant and elegant languages I've used… but the footguns it comes equipped with rival those of Perl.
Nov 2025 · commentDeclining community and adoption · 2
The language is still great as-is, but if there is no solution to lack of new developers, ruby will just follow perl's path to extinction.
Jun 2026 · commentRuby is still a great programming language, but it really needs to intensify the effort to get out of the pit-of-decline.
May 2026 · commentSlow performance · 2
This is a language that explicitly sacrifices important stuff like the strength of automatic checks possible and performance in lieu of developer ergonomics.
May 2026 · commentRuby originally blew up because Rails was a way people enjoyed writing backend code, despite the speed issues.
May 2026 · comment
What hackers pick instead
- RustRecommended for compile-time memory safety without runtime cost, fast native code, and strong types with pattern matching; critics cite complexity, slow compiles, a thin stdlib and dependency sprawl.2039recommend
- GoLiked for its simple, readable style, easy goroutine concurrency, strong standard library and good performance; critics say it ignored prior language design, added generics late and lacks sum types.1254recommend
- PythonPython is recommended for its huge library ecosystem, readable pseudo-code-like syntax and fast productivity on scripts and small programs; critics cite slow performance, dynamic-typing pain and dependency conflicts.1067recommend
- ZigA low-level C replacement praised for comptime metaprogramming, explicit allocators and helpful safety checks, though critics say it lacks Rust's memory-safety guarantees and leaves footguns.743recommend
- TypeScriptAn expressive type system over JavaScript that catches bugs, shares code between frontend and backend and helps LLMs write better code, though escape hatches and compile-time-only types weaken its guarantees.574recommend
Every quote
The 40 most detailed of 731 comments. Each links to the original.
Ruby's FileUtils#sh (combined with %W{} array literals, %x{} output capturing and regular #{} string interpolation) provides a pretty low-impedance interface.
Recommends · Aug 2026 · in “Humans missed 1 in 3 threats approving AI agent commands across 40k game runs”
Languages like ruby and python are not fast, but their syntax is so straight forward, the effort to go from a to z is a fraction of other languages
Recommends · Dec 2025 · in “Response to "Ruby Is Not a Serious Programming Language"”
Ruby is the most elegant and expressive general purpose programming language that has reached a significant level of maturity and large audience.
Recommends · May 2026 · in “Ruby for Good”
The language is still great as-is, but if there is no solution to lack of new developers, ruby will just follow perl's path to extinction.
Mixed · Jun 2026 · in “RubyLLM: A single, beautiful Ruby framework for all major AI providers”
amenable to modern development practices and tools like source control and off the shelf text editors, and usable for Unix scripts
Recommends · Nov 2025 · in “Ruby and Its Neighbors: Smalltalk”
Ruby is still a great programming language, but it really needs to intensify the effort to get out of the pit-of-decline.
Mixed · May 2026 · in “Ruby for Good”
Ruby's syntax is pretty accessible and powerful and Matz was explicit about having developer happiness as a design goal.
Recommends · Dec 2025 · in “Ask HN: Why Did Python Win?”
one of the most pleasant and elegant languages I've used… but the footguns it comes equipped with rival those of Perl.
Mixed · Nov 2025 · in “Ruby already solved my problem”
Python is generally slower, uses significant whitespace in its syntax, and lacks the metaprogramming features of Ruby
Recommends · Dec 2025 · in “Ruby 4.0.0 Released”
The ability to cleanly remold any part of the system with minimal friction, to suit the app you're building right now
Recommends · Nov 2025 · in “Friendly attributes pattern in Ruby”
Type free languages like Lisp, Python and Ruby have faster software development times than languages that use types.
Recommends · Dec 2025 · in “T-Ruby is Ruby with syntax for types”
If our competitors voluntarily choose to use tools that are demonstrably less productive, that's great news for us.
Recommends · Dec 2025 · in “Mruby: Ruby for Embedded Systems”
And one of the things I have enjoyed immensely - and I know I am not alone in this - is writing Ruby commercially
Recommends · Oct 2026 · in “Living in the Weimar Era of Ruby”
I feel like a damn genius when I write it, but want to pull my hair out when I have to read someone else's code
Mixed · Nov 2025 · in “PHP 8.5”
I use it for prototyping, oneliners for ETL and to glue different moving parts in a system or network together
Recommends · May 2026 · in “Rubish: A Unix shell written in pure Ruby”
Ruby originally blew up because Rails was a way people enjoyed writing backend code, despite the speed issues.
Mixed · May 2026 · in “Ruby for Good”
Ruby was the first language where I felt the joy of discovery more often than the frustration of cluelessness.
Recommends · Dec 2025 · in “Ruby 4.0.0 Released”
Ruby, and Ruby on Rails is a treasure trove of little handy bits you can use if you just know where to look.
Recommends · Nov 2025 · in “Ruby already solved my problem”
It is a joy to write Ruby, I'll give you that, but it is a pain to live around other people's Ruby at scale.
Mixed · Dec 2025 · in “Response to "Ruby Is Not a Serious Programming Language"”
The ruby code I write is about 1000000000x easier to understand, simpler and almost always shorter than C.
Recommends · Aug 2026 · in “The case against a C alternative (2022)”
I think ruby is a great language, I use it daily as the primary glue language to do literally everything.
Mixed · May 2026 · in “From Rust to Ruby”
I'd rather review, say, a ruby oneliner that extracts specific row values from a csv file with filter_map
Recommends · Aug 2026 · in “Why Go Is an Ideal Language for AI-Assisted Software Engineering”
This is a language that explicitly sacrifices important stuff like the strength of automatic checks possible and performance in lieu of developer ergonomics.
Criticizes · May 2026 · in “Rubish: A Unix shell written in pure Ruby”
the terse syntax combined with lack of static types and regular use of generated identifiers turns large codebases into Where's Wally
Criticizes · Nov 2025 · in “Ruby already solved my problem”
Everything being mutable by default, including strings, is about as big a foot gun as you can find in a high level language.
Criticizes · Dec 2025 · in “Ruby 4.0.0 Released”
Being able to open any class (or object) and add new methods to it makes tracking how execution works extremely difficult.
Criticizes · Aug 2026 · in “Because It's Not Fun Enough: why languages fail”
See languages like Ruby or JavaScript, which are memory safe but not sandboxable due to all the monkeypatching they allow.
Criticizes · May 2026 · in “Maybe you shouldn't install new software for a bit”
Ruby is particularly magical with being able to evaluate methods from dynamic strings into running, production code
Criticizes · May 2026 · in “We should be more tired than the model”
I love Ruby and have built my career on it, but is it the right language to be starting new projects with given agentic coding?
Mixed · May 2026 · in “Ruby for Good”
Typescript, Kotlin, Python and Ruby (via Sorbet or DryStruct) are all really easy to write all those data structures and code.
Recommends · Jul 2026 · in “We charge $10k a week to delete AI-generated code”
Ruby could have won, I like it more than Python, but outside of Japan it's also mostly been associated with web development
Mixed · Dec 2025 · in “Ask HN: Why Did Python Win?”
My only complaints about Ruby, as someone that never really did much with it, would be a more Smalltalk like dev experience
Mixed · Dec 2025 · in “Response to "Ruby Is Not a Serious Programming Language"”
who deeply loves the language and who’s used it professionally and still uses it for virtually all of my personal projects
Mixed · Mar 2026 · in “Returning to Rails in 2026”
MRI - the main Ruby interpreter - is fast enough that competing against it with an unoptimized compiler goes really badly
Recommends · Nov 2025 · in “Compiling Ruby to machine language”
The software industry has suffered because people think Ruby isn’t the right choice and try to static type all things.
Recommends · Apr 2026 · in “Optimizing Ruby Path Methods”
Ruby’s performance has not been a bottleneck for multiple companies that have IPO’d and are worth billions of dollars.
Recommends · Nov 2025 · in “Ruby already solved my problem”
Unfortunately the learning curve is quite high, you kinda have to know what you are doing from a language standpoint.
Mixed · Nov 2025 · in “Ruby already solved my problem”
The ruby community has made many performance improvements since 2.0, including JIT compilation, fibers and ractors.
Recommends · Aug 2026 · in “Solid Queue 1.6.0 now supports fiber workers”
It's close, but there are some things that could be better to make it easier to access e.g. file size and type.
Mixed · Jan 2026 · in “Stop Designing Languages. Write Libraries Instead (2016)”
Types in ruby are even worse than in python, because the type systems in use really make ruby turn very ugly.
Mixed · Jun 2026 · in “Are you expected to run five Python type-checkers now?”
Counts from 1,795,640 Hacker News comments, Nov 2025 to Nov 2026. How we count · Report a mistake