[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

[OFF] How to introduce Ruby to more people.

bin liu

12/3/2004 2:49:00 AM

Ruby in our country is strangeness,many people even have not hear about it.
Not like PERL or Python,they are very popular.
I LIKE/LOVE it ,and wish more and more people will know it,learn it and use it .
But i'm not sure how to introduce it to others even our country .
I'm eager for your advices.


____________________________________________
programming is my life
my blog:http://blog.itpub....
http://www.ru...



4 Answers

JD

12/3/2004 3:42:00 AM

0

bin liu wrote:
> Ruby in our country is strangeness,many people even have not hear about it.
> Not like PERL or Python,they are very popular.
> I LIKE/LOVE it ,and wish more and more people will know it,learn it and use it .
> But i'm not sure how to introduce it to others even our country .
> I'm eager for your advices.
>

Show them example ruby code that uses blocks, iterators and exception
handling to open & process a file using very few lines of code--and in a
way that gracefully handles errors and guarantees the file is closed.

Or show them this page and ask them how much code it would take them to
do something similar in their favorite scripting language (see the Model
Code and Example Usage):

http://www.rubyonrails.org/show/AccessControlL...

And finally, here's 37 reaons someone else loves ruby :)

http://hypermetrics.com/r...

Tell them the ruby community is very friendly. (one of the 2 other
languages you mentioned are notoriously unfriendly in their IRC channel)

Jan

12/3/2004 10:29:00 AM

0

bin liu wrote:
> Ruby in our country is strangeness,many people even have not hear about it.
> Not like PERL or Python,they are very popular.
> I LIKE/LOVE it ,and wish more and more people will know it,learn it and use it .
> But i'm not sure how to introduce it to others even our country .
> I'm eager for your advices.
>
>

Don't try to describe it. No description really captures the beauty and
the elegance of the language. Try to show it.
I got interested in ruby during fosdem 2004, where the presenter (don't
remember the name) made a distributed application with yaml persistence
in an hour. (while explaining every step). When I compared both the
beauty of the code and the time needed to my Java background.. Well, it
was hard not to get interested in ruby :-)

gabriele renzi

12/3/2004 11:36:00 AM

0

Jan ha scritto:
> bin liu wrote:
>
>> Ruby in our country is strangeness,many people even have not hear
>> about it.
>> Not like PERL or Python,they are very popular.
>> I LIKE/LOVE it ,and wish more and more people will know it,learn it
>> and use it .
>> But i'm not sure how to introduce it to others even our country .
>> I'm eager for your advices.
>>
>>
>
> Don't try to describe it. No description really captures the beauty and
> the elegance of the language. Try to show it.
> I got interested in ruby during fosdem 2004, where the presenter (don't
> remember the name) made a distributed application with yaml persistence
> in an hour. (while explaining every step). When I compared both the
> beauty of the code and the time needed to my Java background.. Well, it
> was hard not to get interested in ruby :-)

I agree with this. BTW I think that one of the best way to show ruby is
putting togheter little articles for magazines (both printed and online)
about something soewhat interesting.
Something like "a tiny application to play chess online" or "basic bot"
or "automate this stuff with web service" that people can use for their
own purposes, getting caught in the "mh.. this could be better, I'll
learn a little more ruby.." loop.

Dick Davies

12/3/2004 11:48:00 AM

0

* J. D. <jd@nospam.com> [1243 03:43]:
> bin liu wrote:
> >Ruby in our country is strangeness,many people even have not hear about it.
> >Not like PERL or Python,they are very popular.
> >I LIKE/LOVE it ,and wish more and more people will know it,learn it and
> >use it .
> >But i'm not sure how to introduce it to others even our country .
> >I'm eager for your advices.
> >
>
> Show them example ruby code that uses blocks, iterators and exception
> handling to open & process a file using very few lines of code--and in a
> way that gracefully handles errors and guarantees the file is closed.

Dave's article is good for that :

http://www.linux-mag.com/2002-09/ru...

--
One cannot make an omelette without breaking eggs -- but it is amazing
how many eggs one can break without making a decent omelette. - Charles P. Issawi
Rasputin :: Jack of All Trades - Master of Nuns