Create, Vote, Share...
Register
|
Home
|
My Polls
|
Create Poll
|
Login
Twiigs is the place to get the pulse of the world on any topic. Vote on the polls that interest you, or post one of your own!
Email This Poll to a Friend
< Back to Poll
What are your favorite Ruby features?
Instance-specific behavior / metaclasses
Duck typing
Reflection
Operator overloading (in novel ways)
Redefining the behavior of core types
Code in class body (and metaprogramming with it)
Singleton classes
Definable MyObject#method=
First class regexps
Continuations e.g. callcc
Optional parens / English-like readability
Mix-ins / Modules
Enumerators (Ruby 1.8.7+/Ruby 1.9)
Module#module_eval / Module#class_eval
Open classes / monkeypatching
Module#define_method
Object#method_missing
Ternary expressions e.g. foo ? bar : baz
Syntactic sugar e.g. val ||= x; array << val
Object#instance_eval / Object#instance_exec
Standard library (and its use of blocks)
Splats e.g. method(*args)
Creating Domain Specific Languages
Metaprogramming
Object#method(s) / Module#instance_method(s)
Definable MyObject#[] and MyObject#[]=
Use of operators by core types (e.g. Array#*)
Blocks
ObjectSpace
Embedding code in strings with "#{mycode}"
Object#class / Object#is_a?
MyObject#method? and MyObject#method! idiom
Object#instance_variable_get / Object#instance_variable_set
RubyGems
Enumerable
Lambdas / procs
Created on Feb 15, 2009
View Results
more info
From:
This is
your
email address. Max 64 characters.
Cc:
Send to you as well (the email address you specified in your "from" email address).
To
(separated by commas)
:
These are the email addresses of the people you want to send this to. Separate email addresses with a comma (","). Max 10 email addresses. Max 64 characters per email address.
Add a personal message
(optional)
:
You have
1000
characters left. No HTML allowed.
Word Verification:
Type the word you see in the image above.