 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gbenga Abimbola Guest
|
Posted: Wed May 10, 2006 3:14 pm Post subject: Is Ruby On Rails, Delphi's lost cousing? |
|
|
At one time I wrote that maybe Delphi should use curly braces
for its begin--end clauses to be similar to the C-like
programming language, and the opposite responses were
overwhelming. Their claim was, what does
syntaxes had to do with it? Guess what, those people were right. At that time, I was just concern about Delphi and
being emotive about it. I may be right to some degree though.
Anyway, Ruby On Rail is catching fire, and below
is an example of class with its associated methods (copied from:
http://developer.apple.com/tools/rubyonrails.html), and it
doesn't look like a C-family language to me.
It actually bore some resemblance to the "almighty" Delphi!
### begining of code ###
class Expenses < ActiveRecord::Migration
def self.up
create_table :expenses do |table|
table.column :paid_on, :date
table.column :payable_to, :text
table.column :amount, :float, :default => 0.0
table.column :account_id, :integer
end
end
def self.down
drop_table :expenses
end
end
### End of code ###
As a matter of fact, I would love Ruby to kill Java. Thus
giving room for C# and Delphi to continue to grow. |
|
| Back to top |
|
 |
Jim Cooper Guest
|
Posted: Wed May 10, 2006 3:14 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
| Quote: | As a matter of fact, I would love Ruby to kill Java.
|
Don't hold your breath :-)
Cheers,
Jim Cooper
_____________________________________________
Jim Cooper jcooper (AT) tabdee (DOT) ltd.uk
Skype : jim.cooper
Tabdee Ltd http://www.tabdee.ltd.uk
TurboSync - Connecting Delphi to your Palm
_____________________________________________ |
|
| Back to top |
|
 |
Dominic Willems Guest
|
Posted: Wed May 10, 2006 4:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
Gbenga Abimbola wrote:
| Quote: | def self.up
create_table :expenses do |table|
table.column :paid_on, :date
table.column :payable_to, :text
table.column :amount, :float, :default => 0.0
table.column :account_id, :integer
end
end
|
What a load of gibberish. Was Ruby an exercise to make C even more
abstruse? |
|
| Back to top |
|
 |
Brian Moelk Guest
|
Posted: Wed May 10, 2006 4:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
| Quote: | As a matter of fact, I would love Ruby to kill Java.
Don't hold your breath
|
I agree, it's not going to kill Java any time soon, but it has converted
some well known Java guys and it is a viable cross platform alternative to
Windows only web technology.
--
Brian Moelk
bmoelk (AT) NObrainendeavorSPAM (DOT) FORcomME
http://www.brainendeavor.com |
|
| Back to top |
|
 |
SiegfriedN Guest
|
Posted: Wed May 10, 2006 4:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
Gbenga Abimbola wrote:
| Quote: | It actually bore some resemblance to the "almighty" Delphi!
|
To me it does not resemble Delphi much at all..
Why is Ruby 'Delphi's lost cousing' (cousin)?
Why do you want Ruby to kill Java?
Siegs |
|
| Back to top |
|
 |
Eric Grange Guest
|
Posted: Wed May 10, 2006 5:14 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
| Quote: | No doubt it's a wonderful language, but I don't recognize Delphi in it.
|
Me neither, but there are a couple "end" and a "do", maybe that was what
you where supposed to recognize :)
Eric |
|
| Back to top |
|
 |
Brian Moelk Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
| Quote: | Does a compiler exist, btw (or would that completely defy its purpose,
|
Not a compiler, but a VM is in the works. Information is somewhat scarce,
but you can google for YARV.
| Quote: | I
ask in an ignorant and arrogant fashion)?
|
I see I have struck a chord with you...truth hurts.
--
Brian Moelk
bmoelk (AT) NObrainendeavorSPAM (DOT) FORcomME
http://www.brainendeavor.com |
|
| Back to top |
|
 |
Eddie Shipman Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
In article <4461fa83$1 (AT) newsgroups (DOT) borland.com>, gabimbola (AT) columbus (DOT) gov
says...
| Quote: | It actually bore some resemblance to the "almighty" Delphi!
"some resemblance" my a$$... |
Looks nothing like ANY Delphi code I've ever seen. |
|
| Back to top |
|
 |
Brian Moelk Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
| Quote: | Regardless, I find that ignorance and arrogance are a dangerous
combination
Only surpassed by patronizing condescending haughtiness, I'm sure.
|
So how much Ruby have you coded? ;)
| Quote: | Still sulking over the failed Apple promotional tour in here...?
|
I didn't know that expressing an opinion that you disagreed with is called a
"promotional tour". It's also worth noting that disagreement with you is to
be regarded as a failure.
back atcha.
--
Brian Moelk
bmoelk (AT) NObrainendeavorSPAM (DOT) FORcomME
http://www.brainendeavor.com |
|
| Back to top |
|
 |
Dominic Willems Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
Eric Grange wrote:
| Quote: | Me neither, but there are a couple "end" and a "do", maybe that was
what you where supposed to recognize
|
I thank you for clarifying. :)
I suppose it's similar in the way it is an OOP language and supports
single inheritance.
Does a compiler exist, btw (or would that completely defy its purpose, I
ask in an ignorant and arrogant fashion)? |
|
| Back to top |
|
 |
Dominic Willems Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
Brian Moelk wrote:
| Quote: | So how much Ruby have you coded?
|
Like, this much, like ---->
| Quote: | It's also worth noting that
disagreement with you is to be regarded as a failure.
|
D'uh!
Life is more bliss that way.  |
|
| Back to top |
|
 |
Dominic Willems Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
Brian Moelk wrote:
| Quote: | I see I have struck a chord with you...truth hurts.
|
Just being very very careful now. Some loooong toes in here.  |
|
| Back to top |
|
 |
Brian Moelk Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
| Quote: | So how much Ruby have you coded? ;)
Like, this much, like ----
It's also worth noting that
disagreement with you is to be regarded as a failure.
D'uh!
Life is more bliss that way.
|
I think this post demonstrates everything one needs to know about your
opinions.
--
Brian Moelk
bmoelk (AT) NObrainendeavorSPAM (DOT) FORcomME
http://www.brainendeavor.com |
|
| Back to top |
|
 |
Dominic Willems Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
Brian Moelk wrote:
| Quote: | I think this post demonstrates everything one needs to know about your
opinions.
|
And your sense of humor, lad. |
|
| Back to top |
|
 |
Brian Moelk Guest
|
Posted: Wed May 10, 2006 5:15 pm Post subject: Re: Is Ruby On Rails, Delphi's lost cousing? |
|
|
| Quote: | I think this post demonstrates everything one needs to know about your
opinions.
And your sense of humor, lad.
|
I don't find humor in arrogance or ignorance. I'd rather be labeled as a
dull, humorless developer than to promote such things in forums that are
public record.
--
Brian Moelk
bmoelk (AT) NObrainendeavorSPAM (DOT) FORcomME
http://www.brainendeavor.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|