Nov 23, 2009

Ruby - "Where everything's an object!"

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > Ruby

Ruby - "Where everything's an object!"

eyvind
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.

 

 

 


Comment/Reply (w/o sign-up)

miCRoSCoPiC^eaRthLinG
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.

Comment/Reply (w/o sign-up)

madcrow
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.

Comment/Reply (w/o sign-up)

eyvind
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).

Comment/Reply (w/o sign-up)

manymanymuch
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?

Comment/Reply (w/o sign-up)

manymanymuch
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

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : ruby, everythings, object

  1. Ruby, A Good Language To Learn First?
    Should ruby be a first language to learn (14)
  2. Does Astahost Support Ruby Cgi?
    What are the general specifications? (9)
    I was searching this forum to find out if Astahost actually support Ruby. It remains vague to me.
    I found Astahost from clickherefree.com when searching for webhosts featuring Ruby. But on
    Astahost's own page of complete hosting feature, there is no mention of Ruby. Also, on
    free-webhosts.com there is no mention of Ruby under Astahost's description.. Q: Does Astahost
    support Ruby CGI programming? if so, what are the general specifications?....
  3. How Long Have You Been Programming In Ruby?
    Find out how many Ruby programmers here (0)
    Let's find out how many Ruby programmers are there on this forum and how many years experience
    they have.....
  4. The Ruby Language
    Is Ruby a scripting language or not? (6)
    Is Ruby a scripting language? /dry.gif" style="vertical-align:middle" emoid=" Personally I
    think it is a full programming language. When I think of a scripting langauge, I think of Perl or
    JavaScript, Ruby isn't like those, Ruby is a lot more like Java than Perl. What do you think?....
  5. Ruby - Cool Syntax
    Scripting language Ruby (9)
    Of all the programming languages I have come accross, there is no language which is as fun to use
    and easy to program in as Ruby. The iterators in the language and the use of code blocks is just
    excellent. It takes just an hour or so to get used to the philosphy of Ruby and bang... u can just
    program anything easily in the language. I strongly recomment it to anyone interested in
    programming. e.g. CODE 1.upto(10) {|x| puts x} prints numbers from 1 to 10. CODE
    "abcdef".reverse! reverses the string to fedcba. Cool /smile.gif" style="vertical-align:....

    1. Looking for ruby, everythings, object

See Also,

*SIMILAR VIDEOS*
Searching Video's for ruby, everythings, object
advertisement



Ruby - "Where everything's an object!"

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com