From: Son SonOfLilit Date: 2006-07-24T03:06:38+09:00 Subject: Yadda yadda yadda operator ------=_Part_8047_12290556.1153677994562 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello. I was reading about perl6 on wikipedia for amusement today and I came upon the "yadda yadda yadda" operator: if is_true() { for @array { ... } } The three dots above (...) are syntactically valid in Perl 6 and are called the "yadda-yadda operator". "..." can be used as a placeholder for code to be inserted later. If a running program attempts to *execute* "...", however, an exception is thrown. This operator is useful for abstract methods, or for marking places where the programmer intends to insert code later. This seemed so useful that I thought implementing it for Ruby and submitting a patch, but then caught myself and wrote: class Kernel def yadda raise "Yadda operator reached" end end How elegant Ruby is. Does anyone else think that this is Standard Library material in the making? ------=_Part_8047_12290556.1153677994562--