[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Ruby and Visual Basic

Ike

7/27/2006 9:43:00 AM

Some years ago I wrote a magazine review regarding Visual Basic. At the time
I was informed by Microsoft that it was modelled after an earlier
incarnation of a program called "Ruby," by a fellow named Alan Cooper.

Would that be the same Ruby we are using today? I ask this because,
syntactically, it seems very much the same as Visual Basic. Thanks, Ike


9 Answers

ts

7/27/2006 9:50:00 AM

0

>>>>> "I" == Ike <rxv@hotmail.com> writes:

I> Would that be the same Ruby we are using today?

no, see

http://www.cooper.com/alan/father_...


Guy Decoux






Leslie Viljoen

7/27/2006 1:30:00 PM

0

On 7/27/06, Ike <rxv@hotmail.com> wrote:
> Some years ago I wrote a magazine review regarding Visual Basic. At the time
> I was informed by Microsoft that it was modelled after an earlier
> incarnation of a program called "Ruby," by a fellow named Alan Cooper.
>
> Would that be the same Ruby we are using today? I ask this because,
> syntactically, it seems very much the same as Visual Basic. Thanks, Ike

ARRGGHHH! You must be kidding!
Don't say that PLEASE!

Ike

7/27/2006 1:52:00 PM

0


"Leslie Viljoen" <leslieviljoen@gmail.com> wrote in message
news:f204810a0607270629y5117c911m18bb17b9c1b05a34@mail.gmail.com...
> On 7/27/06, Ike <rxv@hotmail.com> wrote:
>> Some years ago I wrote a magazine review regarding Visual Basic. At the
>> time
>> I was informed by Microsoft that it was modelled after an earlier
>> incarnation of a program called "Ruby," by a fellow named Alan Cooper.
>>
>> Would that be the same Ruby we are using today? I ask this because,
>> syntactically, it seems very much the same as Visual Basic. Thanks, Ike
>
> ARRGGHHH! You must be kidding!
> Don't say that PLEASE!
>

I don't like it either -- but SYNTACTICALLY there are many
similarities! -Ike


Leslie Viljoen

7/27/2006 2:08:00 PM

0

On 7/27/06, Ike <rxv@hotmail.com> wrote:
>
> "Leslie Viljoen" <leslieviljoen@gmail.com> wrote in message
> news:f204810a0607270629y5117c911m18bb17b9c1b05a34@mail.gmail.com...
> > On 7/27/06, Ike <rxv@hotmail.com> wrote:
> >> Some years ago I wrote a magazine review regarding Visual Basic. At the
> >> time
> >> I was informed by Microsoft that it was modelled after an earlier
> >> incarnation of a program called "Ruby," by a fellow named Alan Cooper.
> >>
> >> Would that be the same Ruby we are using today? I ask this because,
> >> syntactically, it seems very much the same as Visual Basic. Thanks, Ike
> >
> > ARRGGHHH! You must be kidding!
> > Don't say that PLEASE!
> >
>
> I don't like it either -- but SYNTACTICALLY there are many
> similarities! -Ike

My ears are burning, my ears are burning!
LALALALALALALA can't hear you! LALALALALALALA


Seriously though, about the only similarity I can think of is the lack
of semi-colons.

greg.kujawa

7/27/2006 7:04:00 PM

0


Ike wrote:
> I ask this because,
> syntactically, it seems very much the same as Visual Basic.

Hmm. Not so much. Perhaps dotted notation separating elements? Even
then in Ruby that would be more along the lines of object.method,
whereas in VB it would be like function.property. Other than that I
don't see it. Even syntactically...

Chad Perrin

7/28/2006 5:47:00 AM

0

On Thu, Jul 27, 2006 at 11:13:13PM +0900, Daniel Baird wrote:
>
> Uh.. not as many curly brackets as C? " if " statements?
> That's two similarities. I'm sure if we all pitch in, we can find some
> more..

"They're both programming languages."

That might work.

--
CCD CopyWrite Chad Perrin [ http://ccd.ap... ]
print substr("Just another Perl hacker", 0, -2);

Ike

7/28/2006 12:08:00 PM

0


>> "Leslie Viljoen" <leslieviljoen@gmail.com> wrote in message
>> news:f204810a0607270629y5117c911m18bb17b9c1b05a34@mail.gmail.com...
> Seriously though, about the only similarity I can think of is the lack
> of semi-colons.

In particular, the control structure syntax and lack of semicolons (and,
thank God, blocks are NOT, unlike Python, a function of the tabbings!). I
mean, overall, say, converting a snippet of java/php/c++ code to another of
those types, is syntactically similar. Here, it seems, that a lot of legacy
VB code out there can (and then subsequently SHOULD!) be converted to Ruby.

-Ike


Leslie Viljoen

7/28/2006 2:04:00 PM

0

On 7/28/06, Ike <rxv@hotmail.com> wrote:
>
> >> "Leslie Viljoen" <leslieviljoen@gmail.com> wrote in message
> >> news:f204810a0607270629y5117c911m18bb17b9c1b05a34@mail.gmail.com...
> > Seriously though, about the only similarity I can think of is the lack
> > of semi-colons.
>
> In particular, the control structure syntax and lack of semicolons (and,
> thank God, blocks are NOT, unlike Python, a function of the tabbings!). I
> mean, overall, say, converting a snippet of java/php/c++ code to another of
> those types, is syntactically similar. Here, it seems, that a lot of legacy
> VB code out there can (and then subsequently SHOULD!) be converted to Ruby.

Well everything should be converted to Ruby, but perhaps you should
work a little more in Ruby first, to confirm your hypothesis!

Les

Christian Neukirchen

7/29/2006 1:47:00 PM

0

"Brian Hutchison" <b.hutchison@gmail.com> writes:

> To be clear, its not ENDIF in VB, its End If (and just End in Ruby of
> course).

And in the very old times, "end if" worked in Ruby too.
(Guess why that was removed...)

--
Christian Neukirchen <chneukirchen@gmail.com> http://chneuk...