From: Josh Cheek Date: 2012-04-25T15:11:06+09:00 Subject: Re: -BEGINNERS- Where do I Start? --f46d0444037271b5e504be7abcb8 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Apr 24, 2012 at 10:58 PM, Thought M. wrote: > Hello World....... I am very new to code but have been glancing at it > for years. Catching glimpses here and reading articles there, but, I > never actually started doing anything but absorbing info and general > understanding. So.... I started in looking for a code to learn, I start > by looking for a java setup since I drink lots of coffee....lol Well > when reading about java i seen an article about how Ruby was way more > comprehensive and easy going in a sense you don't have to spoon feed the > compiler to make things with your set objects or commands. So i decided > to go with Ruby since it wasn't that hard to understand when reading > _why's Guide to Ruby. I got a few chapters in and started to get swamped > with examples that I never used but only read.... At this point I had > just installed Lucid Lynx(Ubuntu [which i have no experience with > installing through the terminal]) so with Lynx in place I had read a how > to article on installing Ruby and did so successfully.(I am pretty sure > anyway) > > So now I have Ruby 1.9.3 with RVM as the main source for my install. Awesome :) Nice job getting all that installed, I know it can be really rough when you are new and aren't familiar with all the idioms. I had to have my school's sysadmin install Linux for me when I first started. If he hadn't helped me out, I wouldn't even be here today. You're way ahead of the curve given that you've been able to figure all that out on your own. At this point I want to try the stuff that I have been reading > about in _why's ruby book. _why's book is a lot of fun, but I think it was written for ruby 1.8. Most things will still be the same, but some are easier now, and others are just a little bit different. As an aside I've always felt the Poignant Guide's strengths were more in it's entertainment value than it's pedagogical merit. I tried to address the gap newbies face by recording sessions where I taught my friends Ruby. We also had quizzes and challenges to work through. I'm not sure how well I succeeded, but if you find yourself getting frustrated with existing resources, you're welcome to give it a try at http://ruby-kickstart.com/ Am I just suppose to start writing things in > my terminal? How do i test the code I wrote? How do I save and run the > code right there as I am writing it like in the "Try Ruby"? In the > online try ruby it allows me to enter some code and hit Return to make > it run the script. But when i hit enter in the terminal it just moves to > the next line which leads me to believe that there is a start/end > command to let the Ruby know what I want to run an when to run it. > Basically I don't what is going on, am I using ruby when I type "Ruby" > in the terminal? How do I make things execute and show me the results? I > feel quite close, like I am just missing a few understandings. Like how > do I open ruby, how do i use ruby, and do I interact and communicate > with ruby in a manner that i type and it responds? > > When you type "ruby" and hit return, it expects you to type in a program in the command line. You've already discovered irb, but if you'd like to see how this works, you can type "ruby", then "puts 'hello world'", then control-D On Wed, Apr 25, 2012 at 12:51 AM, Thought M. wrote: > Sorry, I just didn't think is was a big deal to ask a question about my response I received. > > Don't worry about it, some people don't remember what it's like to be new. --f46d0444037271b5e504be7abcb8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Apr 24, 2012 at 10:58 PM, Thought M. <lists@ruby-forum.com> wrote:
=
Hello World....... I am very new to code but have been glancing at it
for years. Catching glimpses here and reading articles there, but, I
never actually started doing anything but absorbing info and general
understanding. So.... I started in looking for a code to learn, I start
by looking for a java setup since I drink lots of coffee....lol Well
when reading about java i seen an article about how Ruby was way more
comprehensive and easy going in a sense you don't have to spoon feed th= e
compiler to make things with your set objects or commands. So i decided
to go with Ruby since it wasn't that hard to understand when reading _why's Guide to Ruby. I got a few chapters in and started to get swampe= d
with examples that I never used but only read.... At this point I had
just installed Lucid Lynx(Ubuntu [which i have no experience with
installing through the terminal]) so with Lynx in place I had read a how to article on installing Ruby and did so successfully.(I am pretty sure
anyway)

So now I have Ruby 1.9.3 with RVM as the main source for my install.

Awesome :) Nice job getting all that installed, I= know it can be really rough when you are new and aren't familiar with = all the idioms. I had to have my school's sysadmin install Linux for me= when I first started. If he hadn't helped me out, I wouldn't even = be here today. You're way ahead of the curve given that you've been= able to figure all that out on your own.

At this point I want to try t= he stuff that I have been reading
about in _why's ruby book.

_why's b= ook is a lot of fun, but I think it was written for ruby 1.8. Most things w= ill still be the same, but some are easier now, and others are just a littl= e bit different.

As an aside I've always felt the Poignant Guide'= ;s strengths were more in it's entertainment value than it's pedago= gical merit.

I tried to address the gap newbies fa= ce by recording sessions where I taught my friends Ruby. We also had quizze= s and challenges to work through.=A0I'm not sure how well I succeeded, = but if you find yourself getting frustrated with existing resources, you= 9;re welcome to give it a try at=A0h= ttp://ruby-kickstart.com/

Am I just suppose to start w= riting things in
my terminal? How do i test the code I wrote? How do I save and run the
code right there as I am writing it like in the "Try Ruby"? In th= e
online try ruby it allows me to enter some code and hit Return to make
it run the script. But when i hit enter in the terminal it just moves to the next line which leads me to believe that there is a start/end
command to let the Ruby know what I want to run an when to run it.
Basically I don't what is going on, am I using ruby when I type "R= uby"
in the terminal? How do I make things execute and show me the results? I feel quite close, like I am just missing a few understandings. Like how
do I open ruby, how do i use ruby, and do I interact and communicate
with ruby in a manner that i type and it responds?


When you type "ruby" and hit= return, it expects you to type in a program in the command line. You'v= e already discovered irb, but if you'd like to see how this works, you = can type "ruby", then "puts 'hello world'", the= n control-D

On Wed, Apr 25, 2012 at 12:5= 1 AM, Thought M.=A0<lists@ruby-forum.com>=A0wrote:
Sorry, I just d= idn't think is was a big deal to ask a question about my
response I rece= ived.


Don&= #39;t worry about it, some people don't remember what it's like to = be new.
--f46d0444037271b5e504be7abcb8--