I was sold by Ruby

ruby

    Next

  • 1. new to this language
    Hi, I am completely new to this language. I am trying to learn it on my own by reading the book available online. I wanted to type some code and test it while I was learning. I was wondering if someone could answer the following questions that would help me get started on writing some small amount of code testing it myself. 1) Just like in C++ you have a .h and a .cpp file , In this language how would you store your file. In other words if I open emacs and want to write a very simple small class in what format would I save this file ? 2) How do you compile your code? What is the syntax? 3) Do you need a main and a makefile ? I am sure you would need a main to test it . If yes how do you save the main? In what format? These questions may seem really stupid, but I have no idea about this language. I have a little knowledge of C and Java, but not ruby. Any help is appreciated, Thanks in advance, Vidhi.
  • 2. Thanks for your inputs on my "Need advice on recognizing patterns in strings..."
    Hi All, I have been away from my emails so I am going thru your responses. Just wanted to say thanks for the help. Harry
  • 3. ruwiki question
    I am considering extending ruwiki (if needed) to add some metadata to links in ruwiki. e.g. topic1 (specialize) --> topic2 (specialize) --> topic3 (related) --> topic4 Any suggestions where I should begin? Thanks.

I was sold by Ruby

Postby ngoc » Sat, 29 Oct 2005 05:02:08 GMT

Something to share with you (ladys and guys). My boss want me to compare 
data from two sources for oil busisness. As our routine, I write it in 
perl. But the output is wrong. So I think it must be wrong with logic or 
  bug in perl. I convinced my boss to write the same program in Ruby(He 
really do not like to try new thing). The output is still wrong (same as 
perl output). So there is not perl bug, but my logic is wrong. Later, I 
found out what is wrong in my logic. And what I recognise my Ruby 
program is much shorter and beautier than my perl program. A further 
analysis, I see Ruby's beauty is its object oriented design. So I was 
sold to Ruby. Good Work ladys and guys!

Re: I was sold by Ruby

Postby why the lucky stiff » Sat, 29 Oct 2005 05:16:49 GMT




Hey, that's great.  May your enjoyment continue.

Today I clipped one of my toenails and it sailed across the room and 
landed perfectly in a cup up on top of a bookcase.  It made me happy 
just like you are happy.  Sounds like lots of great things are happening 
everywhere.

_why



Re: I was sold by Ruby

Postby Brian Schrer » Sat, 29 Oct 2005 05:41:31 GMT





Don't worry if this sounds strange. _why is our local weird genious.

Anyhow welcome on board and happy rubying.

cheers,

Brian

 http://www.**--****.com/ 

Stringed instrument chords:  http://www.**--****.com/ 



Re: I was sold by Ruby

Postby Christophe Grandsire » Sat, 29 Oct 2005 05:45:41 GMT

Selon why the lucky stiff :



ngoc, don't take it personally, _why is always like that ;) .

However the comparison isn't that bad. When I first came across Ruby, it 
was as if everything went suddenly into place perfectly. I thought to 
myself: "of course! *that's* how it should be!". Since then learning 
Ruby has been more like discovering how my brains natively work rather 
than learning a separate language. It can make so much sense it's freaky!

Could it be that matz is actually channeling us all at the same time? Or 
maybe *we* are channeling him all at the same time ;) ...
-- 
Christophe Grandsire.

 http://www.**--****.com/ 

You need a straight mind to invent a twisted conlang.



Re: I was sold by Ruby

Postby Stefan Schmiedl » Sat, 29 Oct 2005 06:05:55 GMT

On Thu, 27 Oct 2005 22:45:41 +0200, Christophe Grandsire  




read "babel-17", one of matz' favourites, IIRC.
ISBN 0375706690 for example.

s.

Re: I was sold by Ruby

Postby Neville Burnell » Sat, 29 Oct 2005 09:09:05 GMT

ROFL 

-----Original Message-----
From: why the lucky stiff [mailto: XXXX@XXXXX.COM ] 
Sent: Friday, 28 October 2005 6:17 AM
To: ruby-talk ML
Subject: Re: I was sold by Ruby







Hey, that's great.  May your enjoyment continue.

Today I clipped one of my toenails and it sailed across the room and
landed perfectly in a cup up on top of a bookcase.  It made me happy
just like you are happy.  Sounds like lots of great things are happening
everywhere.

_why




Re: I was sold by Ruby

Postby Lyndon Samson » Sat, 29 Oct 2005 10:28:29 GMT



For Gods sake man, don't encourage him :-)

AFTTP




Into RFID? www.rfidnewsupdate.com Simple, fast, news.



Re: I was sold by Ruby

Postby Christophe Grandsire » Sat, 29 Oct 2005 15:47:58 GMT

Selon Stefan Schmiedl < XXXX@XXXXX.COM >:


You'd think that as a conlanger I would have already read it ;) . But strangely
enough I didn't know it existed. Thanks for the advice though, I'll surely try
and find it (don't tell me "Amazon", I can't pay by Internet, but I have a
bookstore in the neighbourhood that has to have it).
Christophe Grandsire.

 http://www.**--****.com/ 

It takes a straight mind to create a twisted conlang.



Re: I was sold by Ruby

Postby Robert Klemme » Sat, 29 Oct 2005 16:34:30 GMT



Great stuff!  What about your boss - was he sold, too?

Cheers

    robert





Return to ruby

 

Who is online

Users browsing this forum: No registered users and 32 guest