3 ms·
Rails is a framework. You can still write Ruby without the cryptic DSLs.
by treehau5 12y ago
Rails is a framework. You can still write Ruby without the cryptic DSLs.
- danielweber 12y agoYes, I love Ruby, and use it a lot outside of Rails. I have some issues with Ruby "helpfully" letting you leave out more and more syntax, like parentheses from multi-argument function calls, or saying you don't need {} if the last argument is a hash, which are easy to grok if you already know Ruby but can be yet-another-confusing-rule for newbs. But those are relatively minor.
- treehau5 12y agoWhen I first learned ruby, it was my first dynamic language I ever fully experienced. I never found the poetry mode to be an issue, and in fact the community was so new and vibrant, they made it very clear to me what was going on. I believe every ruby tutorial I have ever seen made it very clear what was going on. as far as the hash, you can always inspect the actual arguments being passed, which doubles as a nice learning exercise for beginners.