Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    P

    Practicing Ruby

    practicingruby.com · Publication · on HN since 2011

    Practicing Ruby is a journal of Ruby programming articles, with pieces on low-level computing, simulations, DSLs and software design.

    Visit blogHN submissions
    ProgrammingLanguages & Compilers
    What HN says

    HN commenters recommend its free articles, such as the one on domain-specific APIs, and its author explains the journal is free for those who can't pay.

    Stats for nerds
    21HN people shared it
    34linked in comments
    233story points
    Apr 2025last shared
    2011people per year2025

    Top posts on HN

    1. 1
      "Unobtrusive Ruby" in Practice
      1 person · 66 points · first shared 2011 · 6 comments on HN
    2. 2
      Infrastructure automation by example
      1 person · 52 points · first shared 2014 · 15 comments on HN
    3. 3
      Simulating the emergent behavior of ant colonies
      2 people · 36 points · first shared 2014 · 9 comments on HN
    4. 4
      Exploring low-level computing concepts with Ruby
      1 person · 11 points · first shared 2013 · Discussion on HN
    5. 5
      Simulating tiny worlds for fun and profit
      1 person · 8 points · first shared 2013 · Discussion on HN
    6. 6
      Practicing Ruby journal moves to open-access, 68 free articles already available
      3 people · 6 points · first shared 2011 · 1 comments on HN
    7. 7
      Expanding your code reading horizons
      1 person · 4 points · first shared 2012 · Discussion on HN
    8. 8
      Rocket Science and the Law of Demeter
      1 person · 4 points · first shared 2012 · 2 comments on HN
    9. 9
      Responsibility-centric vs. data-centric design
      1 person · 4 points · first shared 2012 · Discussion on HN
    10. 10
      Guidelines for growing a stable codebase
      1 person · 4 points · first shared 2014 · Discussion on HN

    What HN people wrote when they linked it

    • 6figureleninsApr 2025

      Not to pick on Rails, sorting files into "models / views / controllers" seems to be our first instinct. My pantry is organized that way: baking stuff goes here, oils go there, etc.

      A directory hierarchy feels more pleasant when it maps to features, instead. Less clutter.

      Most programmers do not care about OO design, but "connascence" has some persuasive arguments.

      https://randycoulman.com/blog/2013/08/27/connascence/

      https://practicingruby.com/articles/connascence

      https://connascence.io/

      > Knowing the various kinds of connascence gives us a metric for determining the characteristics and severity of the coupling in our systems. The idea is simple: The more remote the connection between two clusters of code, the weaker the connascence between them should be.

      > Good design principles encourages us to move from tight coupling to looser coupling where possible. But connascence allows us to be much more specific about what kinds of problems we’re dealing with, which makes it easier to reason about the types of refactorings that can be used to weaken the connascence between components.

    • cheshire_catJun 2016

      He said "[...] it is encouraged to think of it that way rather than calling functions."

      This is what Sandi Metz talks about when she speaks about message/responsibility centric design vs data-centric design in OOP. The conceptual difference is said to lead to different designs. You don't start out your design by thinking about what data you hold but you think about which responsibilities/roles you have and create objects around those by thinking how they might talk to each other to reach their goals.
      (I'm currently reading POODR by Sandi Metz, so this is still new to me, if I got anything wrong there then please feel free to correct me)

      https://www.practicingruby.com/articles/responsibility-centric-vs-data-centric-design

    • jamesbrittNov 2011

      BTW, that online copy is the 1st edition of the book, for ruby 1.8.6 (or maybe even earlier).

      The language is now at 1.9.3, and while things are fundamentally the same there are assorted little differences.

      Still, as a free intro to the language it's not bad.

      If you want to buy a book I'd suggest The Ruby Programming Language, as well as anything by Gregory Brown or David A. Black.

      Greg also produces the Practicing Ruby newsletter which I cannot recommend highly enough.

      http://practicingruby.com/

      Greg does amazing stuff.

      See also http://university.rubymendicant.com and http://blog.rubybestpractices.com

    • sandalOct 2011

      I am the author of "Practicing Ruby" ( http://practicingruby.com ). It's a paid newsletter but I offer it for free for anyone who can't pay for it, and try to release back issues relatively frequently.

    • CalinBalauruOct 2014

      One of the best articlets I've read about the ruby dsl's was on practicingruby. You guys can check it out here https://practicingruby.com/articles/domain-specific-apis is free now.

    • joelandersOct 2013

      https://practicingruby.com/articles/low-level-computing?u=64aa43222f

    Related

    Ruby Best Practicesblog.rubybestpractices.com21 people

    Ruby Best Practices (full book available for download)

    Ruby Best Practices
    Company · last shared 2013
    Moonbasemoonbase.rydia.net18 people

    Top Mistakes in Behavior Change

    Moonbase
    Personal · last shared 2015
    Sam Rubyintertwingly.net64 people

    Sam Ruby, Brendan Eich, and Jeremy Ashkenas on CoffeeScript and "JS-next"

    Sam Ruby
    Personal · last shared 2026
    Ruby Insiderubyinside.com147 people

    Sinatra 1.0 Released: Major Milestone for Ruby’s Best Webapp DSL

    Ruby Inside
    Publication · last shared 2021
    Mislav Marohnićmislav.uniqpath.com100 people

    Vim: revisited

    Mislav Marohnić
    Personal · last shared 2015
    Better Programmingmedium.com/better-programming266 people

    NumPy Illustrated: The Visual Guide to NumPy

    Better Programming
    Publication · last shared 2026
    Ruby Weeklyrubyweekly.com31 people

    Ruby Weekly

    Ruby Weekly
    Publication · last shared 2026
    Alan Skorkinskorks.com73 people

    Why Developers Never Use State Machines

    Alan Skorkin
    Personal · last shared 2026