Hi everyone,
I’m a newbie to Ruby. I’ve just started learning Ruby for a week, but I
love it 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 !
On Sat, Aug 14, 2010 at 9:03 AM, Chan N. [email protected]
wrote:
Hi everyone,
I’m a newbie to Ruby. I’ve just started learning Ruby for a week, but I
love it so much. I wonder is there any website to look up standard
library like C++?
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.
2010/8/14 Jesús Gabriel y Galán [email protected]
contains the standard library.
Be aware that this is 1.8.6 docs.
On 14.08.2010 10:34, Jesús Gabriel y Galán wrote:
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.
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
Wow, a lot of advices ! Great thanks to everybody. I will check those
links out !
Chan N. wrote:
Wow, a lot of advices ! Great thanks to everybody. I will check those
links out !
Why’s (Poignant) Guide to Ruby:
On Sat, Aug 14, 2010 at 02:03, Chan N. [email protected]
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
On Sun, Aug 15, 2010 at 7:34 AM, parser [email protected] wrote:
On Sun, Aug 15, 2010 at 07:09:29PM +0900, Samuel S. wrote:
Chan N. wrote:
Wow, a lot of advices ! Great thanks to everybody. I will check those
links out !
Why’s (Poignant) Guide to Ruby:What would he learn from that?
That foxes LOVE chunky bacon!
–
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
On Sun, Aug 15, 2010 at 07:09:29PM +0900, Samuel S. wrote:
Chan N. wrote:
Wow, a lot of advices ! Great thanks to everybody. I will check those
links out !
Why’s (Poignant) Guide to Ruby:
What would he learn from that?
Also, Dave T., 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.
Chan N. wrote:
Hi everyone,
I’m a newbie to Ruby. I’ve just started learning Ruby for a week, but I
love it 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 !
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
On 8/15/10 2:27 AM, “Chan N.” [email protected] wrote:
Wow, a lot of advices ! Great thanks to everybody. I will check those
links out !
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