tag:blogger.com,1999:blog-27488238.post1605732407967845478..comments2024-03-22T11:34:45.165+01:00Comments on taw's blog: Another example of Ruby being awesome - %Wtawhttp://www.blogger.com/profile/16972845140253292628noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-27488238.post-42989409573453124582011-03-29T16:20:14.853+02:002011-03-29T16:20:14.853+02:00Thanks to both of you :)))Thanks to both of you :)))Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27488238.post-63078766175678991052011-03-28T22:57:44.840+02:002011-03-28T22:57:44.840+02:00Anonymous: If you mouseover you'll see credits...Anonymous: If you mouseover you'll see credits and licensing information - cuteness by sparkleice from flickr (CC-NC-ND).<br /><br />Cute bunny, definitely :-Dtawhttps://www.blogger.com/profile/16972845140253292628noreply@blogger.comtag:blogger.com,1999:blog-27488238.post-40189832163211581822011-03-28T22:29:31.430+02:002011-03-28T22:29:31.430+02:00And I took the picture, which has Creative Commons...And I took the picture, which has Creative Commons rights, so it's cool that you used it :). Thanks!sparkleicenoreply@blogger.comtag:blogger.com,1999:blog-27488238.post-1671088340093668352011-03-28T21:09:09.313+02:002011-03-28T21:09:09.313+02:00Yes, he is :). A little finnish bunny :))).Yes, he is :). A little finnish bunny :))).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27488238.post-55424746512055112592011-03-28T20:47:20.591+02:002011-03-28T20:47:20.591+02:00Is this my daughter's rabbit? If it is, what i...Is this my daughter's rabbit? If it is, what is his picture doing here???Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27488238.post-32497785214747195482010-08-13T12:31:13.470+02:002010-08-13T12:31:13.470+02:00Anonymous: Is Perl getting #{} sometimes too? Ruby...Anonymous: Is Perl getting #{} sometimes too? Ruby %q{} %Q{} #{} are a lot like Lisp quote, quasiquote, and unquote.<br /><br />Every time I need to write some Perl code this is the first thing I miss.<br /><br />And once you have #{} you don't really need sigils, and can have object aware of what they are so just one ==/<=> that correctly works even for nested collections - and then you can have sane assert_equal like every language except Perl...<br /><br />Perl5 was amazing at its time, but once you decide that backwards compatibility doesn't matter - Ruby is a much better successor of Perl5 than Perl6.tawhttps://www.blogger.com/profile/16972845140253292628noreply@blogger.comtag:blogger.com,1999:blog-27488238.post-13516028142253309602010-08-12T18:47:19.090+02:002010-08-12T18:47:19.090+02:00Just for the record, Perl5 has the quotemeta func...Just for the record, Perl5 has the quotemeta function, or \Q operator, to help protect against code injection on a "system" call:<br /><br />system "ls \Q$path";<br /><br />But a %W Perl5 equivalent would be nice, such as qqw//, which is missing from the Perl5 language but is available in CPAN, and in Perl6.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27488238.post-69389272052962396322010-07-20T08:21:48.891+02:002010-07-20T08:21:48.891+02:00interpolated strings: go big with a side of fries ...interpolated strings: go big with a side of fries and a chocolate shake. mmm.Alanhttps://www.blogger.com/profile/04968362094868676971noreply@blogger.comtag:blogger.com,1999:blog-27488238.post-30608053418793532322010-07-18T11:07:16.457+02:002010-07-18T11:07:16.457+02:00%Q is pretty goddamned sweet as well.%Q is pretty goddamned sweet as well.Anonymousnoreply@blogger.com