Tip: Did you know that you can embed this poll in your own website or blog? You can also email this poll to your friends.
del.icio.us digg technorati Reddit YahooMyWeb Invite

Status: Closed

Listing: Public

Created on February 15, 2009 by bascule

Ended March 17, 2009

What are your favorite Ruby features? Note that there's a lot of overlap in these options, but that's okay because you can vote more than once!

What are your favorite Ruby features?
  • Blocks
    74%
  • Code in class body (and metaprogramming with it)
    32%
  • Operator overloading (in novel ways)
    19%
  • Splats e.g. method(*args)
    29%
  • Singleton classes
    16%
  • Instance-specific behavior / metaclasses
    20%
  • Reflection
    35%
  • Object#method_missing
    35%
  • First class regexps
    47%
  • Standard library (and its use of blocks)
    37%
  • Optional parens / English-like readability
    45%
  • Creating Domain Specific Languages
    32%
  • Mix-ins / Modules
    53%
  • Object#instance_eval / Object#instance_exec
    15%
  • Open classes / monkeypatching
    47%
  • Metaprogramming
    50%
  • ObjectSpace
    5%
  • Use of operators by core types (e.g. Array#*)
    27%
  • Enumerators (Ruby 1.8.7+/Ruby 1.9)
    26%
  • Redefining the behavior of core types
    16%
  • RubyGems
    41%
  • Lambdas / procs
    52%
  • Module#module_eval / Module#class_eval
    14%
  • Module#define_method
    15%
  • Object#instance_variable_get / Object#instance_variable_set
    8%
  • Duck typing
    54%
  • Object#method(s) / Module#instance_method(s)
    13%
  • Object#class / Object#is_a?
    11%
  • Ternary expressions e.g. foo ? bar : baz
    10%
  • Definable MyObject#[] and MyObject#[]=
    18%
  • Definable MyObject#method=
    17%
  • MyObject#method? and MyObject#method! idiom
    17%
  • Embedding code in strings with "#{mycode}"
    33%
  • Continuations e.g. callcc
    5%
  • Enumerable
    35%
  • Syntactic sugar e.g. val ||= x; array << val
    46%
Created on Feb 15, 2009

Closed

Total Votes: 98

Comments (0):

 
To post a comment, please Sign In or Register.