Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Ruby, "Where everything's an object!"
eyvind
post May 2 2005, 02:25 AM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 34
Joined: 25-April 05
From: San Diego, California
Member No.: 4,345



I have been a huge fan of Java for a few years now, and recieved a 5 (out of 5) on the AP COmputer Science A exam (college level programming, in Java). I signed up for AP Computer Science AB for this year, but 7 people signed up so the class was cancelled, so I have signed up for next year. I have also read a few books on Java, one of which is the Exam Prep (Exam Cram) review book for the Sun Certified Java Prgrammer exam, it looks to me as though I know most of what is tested, but I have not memorized the limits for the different primitive types.

THat is my background in Java. This year, a few weks ago really, I came acros a new programming language, Ruby. Ruby appears to be as Object Oriented as is presently possible, which is shown, or alluded to, in their moto: "Where everyhing is an object." If you look at a statement in Ruby:

returnedNumber = -7.ab

assigns 7 to returnedNumber. In Java:

returnedNumber = Math.abs(-7);

You can tell how much more OO Ruby is even compared to Java.

Durign my Java addiction I began a website: "You Like Java?". I have now decided to change my website to "You Like OOP?"(I actually requested here to change my subdomain to oop, from java, but apparently I had too little credits, which is partly why I am posting this, biggrin.gif )

I think we should have a Ruby Forum, Ruby is prospering, athough relatively few people know about it, it is powerful, and, I think, sets teh way for even purer OOP languages, paving the way for the furure of programming.

Here are a few Ruby websites:
There are a lot more links, you can fnd the best ones here: http://www.rubycentral.com/links/index.html.
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post May 2 2005, 01:24 PM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



Well, if you look around a bit or read the forum descriptions a little more carefully, you'll see we already have a forum for Ruby under Programming > Scripting.

Moved to Ruby.
Go to the top of the page
 
+Quote Post
madcrow
post May 2 2005, 08:35 PM
Post #3


Advanced Member
Group Icon

Group: Members
Posts: 196
Joined: 12-April 05
Member No.: 3,899



Ruby is a bit more than a simple scripting language, though. Unlike Perl, or bash shell scripts, it's well-suited to writing REAL proggies. Along with Python, it sort of bends the boundaries of scripting languages and real languages.

Also, it is VERY good for those looking to learn the basic concepts of OOP. It has a MUCH cleaner object model than Java... In a lot of ways, it's actually the "ideal" programming language that I had been cooking up in my head. I was able to start using MUCH faster than any other language I had previously tried my hand at, because it so closely matched my ideas of how a language SHOULD work.
Go to the top of the page
 
+Quote Post
eyvind
post May 3 2005, 11:12 PM
Post #4


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 34
Joined: 25-April 05
From: San Diego, California
Member No.: 4,345



I didn't look under scripting for that reason, RUby is a fullflsddged programming language, NOT a scripting language. It is definitely in teh same league as Java, at least more so than Perl.

I really think we should have the Ruby Forum here in Programming, (although it wasn't the main point of my post).
Go to the top of the page
 
+Quote Post
manymanymuch
post Jun 29 2005, 07:52 PM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 13
Joined: 29-June 05
Member No.: 6,692



I'm new to Ruby. Years ago I did glanced through the Ruby manual from www.PragmaticProgrammer.com which was actually fully published on www.informIT.com at the time. Since then, I've always wanted to try programming web pages in Ruby, but were not successful in getting a free webhost which has Ruby. Recently, I found out about www.RubyOnRails.com while googling for new Ruby development progress, it looks to be an exciting framework to build websites on.

Q: AstaHost.com has full Ruby support on the server, right?

For now, I'm interested in learning simple Ruby programming. I'm afraid I'm not familiar enough to start off any topics on the basics of Ruby yet.

Q: Would anyone of you care to start something simple on the basics of programming Ruby, maybe something I'd be able to contribute as well?
Go to the top of the page
 
+Quote Post
manymanymuch
post Jul 3 2005, 12:33 PM
Post #6


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 13
Joined: 29-June 05
Member No.: 6,692



I actually found the entire Pragmatic Programmer's Guide to Ruby book published online at RubyCentral.com here is the link:

Programming Ruby: The Pragmatic Programmer's Guide
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. The Ruby Language(4)
  2. Does Astahost Support Ruby Cgi?(9)
  3. Ruby, A Good Language To Learn First?(14)


 



- Lo-Fi Version Time is now: 13th October 2008 - 05:45 AM