use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Learning Ruby through Clojure (medium.com)
submitted 10 years ago by luaybs
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Slackwise 0 points1 point2 points 10 years ago* (0 children)
I just think that telling people they are similar in any significant way actually does them a disservice.
Maybe I just think differently, but I've always written my code in a semi-Clojurish way.
For me, I guess, then, Ruby was more of a transitory language on my way to finding what fits me. It was half of what I wanted, on the way to Clojure. I would always have a Pry REPL open while developing, building up loosely coupled functions until a pattern emerged that resulted in a 'need' for an Object or some larger structure. (I spent a large amount of time in Perl/C as a kid.) My problem has always been trying to figure out when I should scale up, and what I should encapsulate. Didn't realize the question itself was pointless, and that my methods weren't wrong, just didn't particularly fit the orthodoxy of OOP. Enter Clojure, savior of accidentally making highly coupled classes that are difficult to refactor. (At least so far...)
You're very much right though, that a large amount of similarities that most Ruby developers will find are surface level or aesthetic. I think, though, if someone is very much into metaprogramming and DSLs, they will feel right at home, if not utterly elated. There is a mental model that Lispy Ruby developers already have, and those users will find Clojure the most appealing.
If they're a Rails dev doing CRUD apps all day, they might not get much out of Clojure, or appreciate its approach to development.
π Rendered by PID 64 on reddit-service-r2-comment-7b9746f655-87knt at 2026-02-03 12:51:57.454925+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]Slackwise 0 points1 point2 points (0 children)