Question about learning Ruby effectively

Hi everyone,
I'm a newbie to Ruby. I've just started learning Ruby for a week, but I
love it :slight_smile: so much. I wonder is there any website to look up standard
library like C++?
And does Ruby have some standard container like C++ ( vector, list, map,
stack, deque... ). I come from a C++ background, so the way I think in
programming is pretty much from C++. I can see there's a big differences
in the way Ruby does work comparing with C++. So what is a good way to
start thinking in Ruby way? Can anyone share me some experiences? Great
thanks in advance :wink: !

路路路

--
Posted via http://www.ruby-forum.com/.

Hi everyone,
I'm a newbie to Ruby. I've just started learning Ruby for a week, but I
love it :slight_smile: so much. I wonder is there any website to look up standard
library like C++?

http://ruby-doc.org/core/

contains the core classes.

http://www.ruby-doc.org/stdlib

contains the standard library.

And does Ruby have some standard container like C++ ( vector, list, map,
stack, deque... ).

The basic containers are arrays and hashes. An array can be used as a
stack or queue, and a hash is a map or dictionary.

Jesus.

路路路

On Sat, Aug 14, 2010 at 9:03 AM, Chan Nguyen <cnguyen@rapattoni.com> wrote:

If you are considering a book, Programming Ruby, known as the pickaxe,
has a complete reference for core classes and the standard library.
Check it out here

路路路

On Sat, Aug 14, 2010 at 02:03, Chan Nguyen <cnguyen@rapattoni.com> wrote:

I wonder is there any website to look up standard library like C++?

Chan Nguyen wrote:

Hi everyone,
I'm a newbie to Ruby. I've just started learning Ruby for a week, but I
love it :slight_smile: so much. I wonder is there any website to look up standard
library like C++?
And does Ruby have some standard container like C++ ( vector, list, map,
stack, deque... ). I come from a C++ background, so the way I think in
programming is pretty much from C++. I can see there's a big differences
in the way Ruby does work comparing with C++. So what is a good way to
start thinking in Ruby way? Can anyone share me some experiences? Great
thanks in advance :wink: !

Best ruby libraries documentation link + much more is Sidebar for
firefox. Ruby-Doc.org: Documenting the Ruby Language

You may also want to read this site
Ruby From Other Languages,
which explains how is Ruby different from your language.

by
TheR

路路路

--
Posted via http://www.ruby-forum.com/\.

Array can of course also be used as list, i.e. maintaining a custom order and with O(1) element access.

And then there is Set for efficient set operations.

Kind regards

  robert

路路路

On 14.08.2010 10:34, Jes煤s Gabriel y Gal谩n wrote:

On Sat, Aug 14, 2010 at 9:03 AM, Chan Nguyen<cnguyen@rapattoni.com> wrote:

Hi everyone,
I'm a newbie to Ruby. I've just started learning Ruby for a week, but I
love it :slight_smile: so much. I wonder is there any website to look up standard
library like C++?

RDoc Documentation

contains the core classes.

RDoc Documentation

contains the standard library.

And does Ruby have some standard container like C++ ( vector, list, map,
stack, deque... ).

The basic containers are arrays and hashes. An array can be used as a
stack or queue, and a hash is a map or dictionary.

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Be aware that this is 1.8.6 docs.

路路路

2010/8/14 Jes煤s Gabriel y Gal谩n <jgabrielygalan@gmail.com>

On Sat, Aug 14, 2010 at 9:03 AM, Chan Nguyen <cnguyen@rapattoni.com> > wrote:
> Hi everyone,
> I'm a newbie to Ruby. I've just started learning Ruby for a week, but I
> love it :slight_smile: so much. I wonder is there any website to look up standard
> library like C++?

RDoc Documentation

contains the core classes.

RDoc Documentation

contains the standard library.

Wow, a lot of advices :wink: ! Great thanks to everybody. I will check those
links out :slight_smile: !

路路路

--
Posted via http://www.ruby-forum.com/.

Also, Dave Thomas, the author of the pickaxe book, has a screencast on ruby metaprogramming. While metaprogramming itself is an advanced topic, I watched this early on, and felt like it gave me a good jump on understanding the ruby object model.

路路路

On Aug 14, 2010, at 6:29 PM, "Pablo Torres N." <tn.pablo@gmail.com> wrote:

On Sat, Aug 14, 2010 at 02:03, Chan Nguyen <cnguyen@rapattoni.com> wrote:

I wonder is there any website to look up standard library like C++?

If you are considering a book, Programming Ruby, known as the pickaxe,
has a complete reference for core classes and the standard library.
Check it out here
Pragmatic Bookshelf: By Developers, For Developers

Chan Nguyen wrote:

Wow, a lot of advices :wink: ! Great thanks to everybody. I will check those
links out :slight_smile: !

Why's (Poignant) Guide to Ruby:

http://mislav.uniqpath.com/poignant-guide/

路路路

--
Posted via http://www.ruby-forum.com/\.

Here's one more for the road:

I took the Core Ruby course offered at www.rubylearning.org.

I found it to be very helpful (in fact I'm taking it a second time at the
end of this month!). You'll find that the students and mentors have a broad
range of backgrounds; from someone like myself who is new to programming as
well as Ruby, to individuals like yourself who have a background in another
language.

One thing I especially appreciated is that the mentors will challenge you to
think in other ways.

Hope to see you there!

Spencer Roach
Senior Business Analyst
InvestorPlace Media

路路路

On 8/15/10 2:27 AM, "Chan Nguyen" <cnguyen@rapattoni.com> wrote:

Wow, a lot of advices :wink: ! Great thanks to everybody. I will check those
links out :slight_smile: !

What would he learn from that?

路路路

On Sun, Aug 15, 2010 at 07:09:29PM +0900, Samuel Sternhagen wrote:

Chan Nguyen wrote:
> Wow, a lot of advices :wink: ! Great thanks to everybody. I will check those
> links out :slight_smile: !
Why's (Poignant) Guide to Ruby:

http://mislav.uniqpath.com/poignant-guide/

That foxes LOVE chunky bacon!

路路路

On Sun, Aug 15, 2010 at 7:34 AM, parser <parser@devio.us> wrote:

On Sun, Aug 15, 2010 at 07:09:29PM +0900, Samuel Sternhagen wrote:

Chan Nguyen wrote:
> Wow, a lot of advices :wink: ! Great thanks to everybody. I will check those
> links out :slight_smile: !
Why's (Poignant) Guide to Ruby:

http://mislav.uniqpath.com/poignant-guide/

What would he learn from that?

--
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Github: rubyredrick (Rick DeNatale) 路 GitHub
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale