Created
January 26, 2011 08:39
-
-
Save thomasfl/796426 to your computer and use it in GitHub Desktop.
A new super compact coding style for ruby ☺. Credits to zmalltalker for having the idea at last nights ruby meetup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
def ✐(arg) | |
puts arg | |
end | |
☺ = true | |
✐ "Cool" if ☺ |
Yeah, you're right Dr. Brain.
The new Algol!
Yes, let's stop pretending ruby is a cool form of lisp. It's the new algol, god damn it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'll be more compact if you get rid of the useless parentheses.