[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ridiculously cool Ruby snippets?

Stedwick

4/22/2008 8:40:00 PM

I came across this site:
http://gilesbowkett.blogspot.com/2008/04/ruby-golf-ascii-sierpinski-tri...

And it got me thinking. Is there a site somewhere dedicated solely to
ridiculously cool ruby snippets? Also, it would be nice if they
explained it :-)

I'm not talking about useful snippets, or important snippets, I'm
talking about purely "cool" or purely "beautiful" or whatever
snippets.

I came across another site where somebody wrote a boggle solver in
Ruby and five lines of code. I thought that was pretty cool too.
5 Answers

Kyle Schmitt

4/22/2008 9:10:00 PM

0

Dunno about that, but really, that snippet he posted is an easy one to
expand to understand :)

The ruby quiz site has lots of cool little snippets in the way of
answers to problems, and this list itself has alot of cool snippets.

Maybe make a site on your own?
--Kyle

On Tue, Apr 22, 2008 at 3:45 PM, Stedwick <philip.brocoum@gmail.com> wrote:
> I came across this site:
> http://gilesbowkett.blogspot.com/2008/04/ruby-golf-ascii-sierpinski-tri...
>
> And it got me thinking. Is there a site somewhere dedicated solely to
> ridiculously cool ruby snippets? Also, it would be nice if they
> explained it :-)
>
> I'm not talking about useful snippets, or important snippets, I'm
> talking about purely "cool" or purely "beautiful" or whatever
> snippets.
>
> I came across another site where somebody wrote a boggle solver in
> Ruby and five lines of code. I thought that was pretty cool too.
>
>

Drew Olson

4/22/2008 11:36:00 PM

0

Philip Brocoum wrote:
> I came across this site:
> http://gilesbowkett.blogspot.com/2008/04/ruby-golf-ascii-sierpinski-tri...
>
> And it got me thinking. Is there a site somewhere dedicated solely to
> ridiculously cool ruby snippets? Also, it would be nice if they
> explained it :-)
>
> I'm not talking about useful snippets, or important snippets, I'm
> talking about purely "cool" or purely "beautiful" or whatever
> snippets.
>
> I came across another site where somebody wrote a boggle solver in
> Ruby and five lines of code. I thought that was pretty cool too.

The ones I've found useful:

http://co...
http://www.slicko...
http://projec...
--
Posted via http://www.ruby-....

Kyrre Nygård

4/23/2008 4:54:00 AM

0

Check out programmingishard=2Ecom =3B)

Kyrre

----- Original Message -----
From=3A Kyle Schmitt =3Ckyleaschmitt=40gmail=2Ecom=3E
Date=3A Wednesday=2C April 23=2C 2008 5=3A10 am
Subject=3A Re=3A Ridiculously cool Ruby snippets=3F
To=3A ruby-talk=40ruby-lang=2Eorg (ruby-talk ML)

=3E Dunno about that=2C but really=2C that snippet he posted is an easy =

=3E one to
=3E expand to understand =3A)
=3E =

=3E The ruby quiz site has lots of cool little snippets in the way of
=3E answers to problems=2C and this list itself has alot of cool snippet=
s=2E
=3E =

=3E Maybe make a site on your own=3F
=3E --Kyle
=3E =

=3E On Tue=2C Apr 22=2C 2008 at 3=3A45 PM=2C Stedwick =

=3E =3Cphilip=2Ebrocoum=40gmail=2Ecom=3E wrote=3A
=3E =3E I came across this site=3A
=3E =3E=A0 http=3A//gilesbowkett=2Eblogspot=2Ecom/2008/04/ruby-golf-asci=
i-
=3E sierpinski-triangle=2Ehtml
=3E =3E
=3E =3E=A0 And it got me thinking=2E Is there a site somewhere =

=3E dedicated solely to
=3E =3E=A0 ridiculously cool ruby snippets=3F Also=2C it would be nice =

=3E if they
=3E =3E=A0 explained it =3A-)
=3E =3E
=3E =3E=A0 I=27m not talking about useful snippets=2C or important =

=3E snippets=2C I=27m
=3E =3E=A0 talking about purely =22cool=22 or purely =22beautiful=22 or =
whatever
=3E =3E=A0 snippets=2E
=3E =3E
=3E =3E=A0 I came across another site where somebody wrote a boggle =

=3E solver in
=3E =3E=A0 Ruby and five lines of code=2E I thought that was pretty =

=3E cool too=2E
=3E =3E
=3E =3E
=3E

Stedwick

4/23/2008 5:58:00 PM

0

On Apr 22, 5:09 pm, Kyle Schmitt <kyleaschm...@gmail.com> wrote:
> Dunno about that, but really, that snippet he posted is an easy one to
> expand to understand :)

It may be easy to understand, but it's still hard to believe! that a
single line could create that picture :-)

Kyle Schmitt

4/23/2008 6:34:00 PM

0

Granted :)

On Wed, Apr 23, 2008 at 1:00 PM, Stedwick <philip.brocoum@gmail.com> wrote:
> On Apr 22, 5:09 pm, Kyle Schmitt <kyleaschm...@gmail.com> wrote:
> > Dunno about that, but really, that snippet he posted is an easy one to
> > expand to understand :)
>
> It may be easy to understand, but it's still hard to believe! that a
> single line could create that picture :-)
>
>