Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7369

Re: how many diffrent between ruby 1.8 vs 2.3?

X-Received by 10.129.74.65 with SMTP id x62mr4532590ywa.26.1500625561038; Fri, 21 Jul 2017 01:26:01 -0700 (PDT)
X-Received by 10.36.124.10 with SMTP id a10mr245903itd.6.1500625561000; Fri, 21 Jul 2017 01:26:01 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!14no743264qtn.1!news-out.google.com!f71ni542itc.0!nntp.google.com!t6no93237itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.ruby
Date Fri, 21 Jul 2017 01:26:00 -0700 (PDT)
In-Reply-To <c5476fda-3f7b-4207-ba03-b70f452b5774@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=213.181.76.72; posting-account=BO21_QoAAAAbIcfxCIHcsr50iLXFf7M8
NNTP-Posting-Host 213.181.76.72
References <c5476fda-3f7b-4207-ba03-b70f452b5774@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <1f82c7e4-8f25-45ea-858f-da97684ebf58@googlegroups.com> (permalink)
Subject Re: how many diffrent between ruby 1.8 vs 2.3?
From Jesús Burgos <jburmac@gmail.com>
Injection-Date Fri, 21 Jul 2017 08:26:01 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 45
Xref csiph.com comp.lang.ruby:7369

Show key headers only | View raw


I recommend you to find a newer book. Ruby had important changes from version 1.8 to 1.9, including new syntax.

A couple of things I can think of:

* This is valid syntax in 1.9 but not in 1.8: {a: 'value', b: 'value'}.
* This is a valid method definition in 1.9 but not in 1.8:

```
def method argument
  # stuff
end
```

El viernes, 21 de julio de 2017, 3:51:31 (UTC+2), pug breaker  escribió:
> [use google translator]
> 
> 
> 
> Yesterday I got a book called "Learning ruby - O'reilly" which was published in 2008.
> 
> Now I see that people use Ruby version 2.3 or higher
> 
> This book is based on Ruby 1.8.
> 
> Is there any problem in studying with this book?
> 
> I think
> 
> If it were quite different, it would be a problem.
> 
> If not, I will have to study a little more chapters.
> 
> I want to study with that book as much as possible.
> 
> I'd appreciate it if you could give me some more chapters to add in 1.8.
> 
> I would also like to let you know some of the information about the update history between Ruby versions.
> 
> (It's not obligatory, I can find it somehow :))
> 
> Thank you.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how many diffrent between ruby 1.8 vs 2.3? pug breaker <pug1270@gmail.com> - 2017-07-20 18:51 -0700
  Re: how many diffrent between ruby 1.8 vs 2.3? Jesús Burgos <jburmac@gmail.com> - 2017-07-21 01:26 -0700
    Re: how many diffrent between ruby 1.8 vs 2.3? neverland@GOODEVEca.net (Pete) - 2017-09-09 19:34 +0000
  Re: how many diffrent between ruby 1.8 vs 2.3? soyeomul@doraji.xyz (Byung-Hee HWANG (황병희, 黃炳熙)) - 2017-10-08 21:47 +0900

csiph-web