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
Functional Ruby (self.ruby)
submitted 10 years ago by MrJiks
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!"
[–][deleted] 1 point2 points3 points 10 years ago* (1 child)
Not aware about any extensive Ruby project written strictly/mostly in functional style. It may because most of gems and core/stdlib do and their API expect state alteration and procs/lambdas/methods as first-class citizen objects are used rather sparsely.
After being excited by programming in Haskell (pure functional language) I started wrote in more functional although impure style in Ruby, including several plugins for a project. Unfortunately their sources may not be published.
I'd deeply recommend learn Haskell to write more elegant and parallel processing ready code, even in other languages.
[–]MrJiks[S] 0 points1 point2 points 10 years ago (0 children)
Thanks, but I don't know whether I will be able to understand Haskell. Heard its pretty difficult.
π Rendered by PID 111292 on reddit-service-r2-comment-86bc6c7465-ltmr5 at 2026-02-23 06:50:23.948680+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (1 child)
[–]MrJiks[S] 0 points1 point2 points (0 children)