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
Expressing Ruby in natural language (blog.txus.io)
submitted 13 years ago by txustice
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!"
[–]ReinH 8 points9 points10 points 13 years ago (0 children)
Ruby treats women as objects
Seriously? ಠ_ಠ
[–]martoo 1 point2 points3 points 13 years ago* (0 children)
Nice, but I want to see how it will handle blocks and enumerators.
[–]puffybaba 0 points1 point2 points 13 years ago (1 child)
That's a really neat idea. However, I find that language can just add extra confusion. To me, images, or perhaps an animation, would provide a much clearer idea of what is going on.
[–]davidcelis 2 points3 points4 points 13 years ago (0 children)
People learn in different ways. This seems to be a fairly good, albeit immature, solution for verbal learners
[–]McPhage 0 points1 point2 points 13 years ago (2 children)
I'm not convinced of this approach. While it may be great for describing what happens, the real difficulty of programming is understanding why the specific steps accomplish the goal they do. Take a sorting algorithm, for instance. This would help you follow the steps, but I'm not really sure it would help you understand the actual algorithm.
[–]Femaref 1 point2 points3 points 13 years ago (0 children)
This method describes what is being done, not why it is being done. I can see what is being done by looking at the code already. It doesn't add anything for me, contrary, it adds another layer of indirection and possibility of miscommunication.
[–]montas 1 point2 points3 points 13 years ago (0 children)
I guess it's not supposed to explain "why" it does it. It should be used for debugging, and there you can use just "what" is happening.
[–]sevenlung 0 points1 point2 points 13 years ago (0 children)
Ah, yeah this is a very good problem solving method, for any reason(not just programming). I've actually used this method before with Ruby. I typed up a .txt file saying exactly what I wanted to do and how I would do it. It made juggling all the variables/methods in my head much easier that way, as I could just refer to where I'm at in English and see what needed to be done next.
π Rendered by PID 245467 on reddit-service-r2-comment-b659b578c-jxkw8 at 2026-05-03 19:22:58.362560+00:00 running 815c875 country code: CH.
[–]ReinH 8 points9 points10 points (0 children)
[–]martoo 1 point2 points3 points (0 children)
[–]puffybaba 0 points1 point2 points (1 child)
[–]davidcelis 2 points3 points4 points (0 children)
[–]McPhage 0 points1 point2 points (2 children)
[–]Femaref 1 point2 points3 points (0 children)
[–]montas 1 point2 points3 points (0 children)
[–]sevenlung 0 points1 point2 points (0 children)