ruby -c
Is this Ruby? Yes!
Rails is for many in this world Fast Enough:
We got sites actually doing millions of dynamic
page views per day; amazing. Maybe you end
up being with the Yahoo or Amazon front page;
it's unlikely that an off-the-shelve framework
in ANY language will do you much good. You'
ll probably have to roll your own. But sure.
I'd like free CPU cycles too. I just happen
to care much more about free developer cycles
and am willing to trade the former for the
latter - What';s your opinion?
25 x warning: parenthesize argument(s) for future version
Syntax OK
Ich glaube, sowas geht echt nur in Ruby ^_^
Der Text ist von David Heinemeier Hansson, hab nur ein bisschen umformuliert.
Korrektur: PHP akzeptiert das natürlich auch. Weil kein <? drin vorkommt.
Kommentar schreiben
Kommentare
Jetzt müsste man es nur noch unauffällig zum laufen bringen...
@WoNáDo: Geht auch :-D def method_missing(*s) end def const_missing(*s) end # hier den Text!
Stimmt, hatte ich gar nicht im Visier.
Irgendwann werden wir feststellen, dass jede Sprache, ob künstlich oder nicht, bloß eine Teilmenge von Ruby ist :) btw Waldteufel: das geht noch kürzer: def method_missing(*) end def const_missing(*) end Eagle!
Hab mich da jetzt auch mal an so einem Code versucht. Aber einen der funktioniert und auch noch was braucbares produziert. Leider nicht ganz so lange und der Text im Quellcode ist kindisch geschrieben, aber immerhin :D http://paste.pocoo.org/show/426/
^^ toll!