13 Jul '12, 3am

"I signed up for an elegant syntax and all I got was this grammar dependency graph." #Ruby

"I signed up for an elegant syntax and all I got was this grammar dependency graph." #Ruby

I haven’t even begun to absorb all the meanings from this picture, but one stark difference between Ruby and the other two is the node in the middle of the picture with a high concentration of outgoing edges. That node is called primary in the grammar definition, and it is probably one of the reasons that Ruby syntax is so flexible and forgiving. A primary node’s direct children apparently represent a large portion of the syntax, and explain why in Ruby a single statement can either be a literal, a method invocation (or series of them), a standalone expression (such as a < b ), all the way up to larger syntactic groupings such as

Full article: http://blog.nicksieger.com/articles/2006/10/27/visualizat...

Tweets

@asmallteapot

blog.jayfields.com 13 Jul '12, 2am

Recently I was looking at creating a patch for Mocha that would allow you to specify a class as an argument. The feature w...

Rubyist Magazine - Ruby の歩き方:

jp.rubyist.net 12 Jul '12, 1pm

Ruby についてもっと詳しく知りたい方はリファレンスマニュアル を読んでください。 オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル Ruby の詳細は、ほぼリファレンスマニュアルに記載されています。 Ruby で何を出来るの...

Code School - TryRuby: Ruby cool beginner tutorial

tryruby.org 14 Jul '12, 5pm

JavaScript Not Detected TryRuby requires JavaScript to be enabled (it's an editor thing).

Does Ruby Have Too Many Equality Tests?:

rubylearning.com 12 Jul '12, 12am

Does Ruby Have Too Many Equality Tests? This guest post is by Eric Anderson , who develops web-based applications for smal...

Wow. Our Ruby BBS just had his 10. birthday.

forum.ruby-portal.de 14 Jul '12, 9pm

Wenn Ruby on Rails brandneu für dich ist, stelle deine Fragen bitte hier.

@peterc Thanks for mentioning minitest-rails in...

rubyweekly.com 12 Jul '12, 1pm

GitHub Takes $100m of Funding The Ruby world celebrates its latest home grown business success, GitHub, who this week anno...

Bundler: The best way to manage Ruby applications

gembundler.com 22 Jul '12, 11am

As a result, bundler comes with a --deployment flag that encapsulates the best practices for using bundler in a deployment...

Ruby Patterns: Method with options

rubyflow.com 16 Jul '12, 5pm

Ruby Patterns: Method with options Posted by rlmflores on July 16, 2012 — 0 comments I've just wrote a blog post about the...

Ruby on Rails - APIdock:

apidock.com 11 Jul '12, 11am

The Model layer represents your domain model (such as Account, Product, Person, Post ) and encapsulates the business logic...

Ruby für Umsteiger:

ruby-lang.org 09 Jul '12, 2am

Wenn du zum ersten Mal Ruby-Code siehst, wird er dich wahrscheinlich an andere Programmiersprachen erinnern, die du benutz...