[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

New (?) Ruby Web Book by Bruno R. Preiss

Andreas Semt

1/24/2005 2:45:00 PM

Hello everyone!

found a "web book" by Bruno R. Preiss with the title:
"Data Structures and Algorithms with Object-Oriented
Design Patterns in Ruby".
You cannot download it or something without the permission of the author
(see: http://www.brpreiss.com/bo...copy...).
However you can read it online here:
http://www.brpreiss.com/bo...

Greetings,
Andreas


5 Answers

ruby talk

1/24/2005 6:59:00 PM

0

On Mon, 24 Jan 2005 23:44:43 +0900, Andreas Semt <as@computer-leipzig.de> wrote:
> Hello everyone!
>
> found a "web book" by Bruno R. Preiss with the title:
> "Data Structures and Algorithms with Object-Oriented
> Design Patterns in Ruby".

I think I've seen his before, and was struck by how little Ruby there
is. It appears to be a general-purpose data structure + algorithm
book, with some references to Ruby tossed in. There may even be some
Ruby code, but a casual glance says otherwise.


It may be handy for an abstract explanation what trees and lists are,
though it does not seem to do so in the context of Ruby.

James


David Sletten

1/24/2005 11:39:00 PM

0

ruby talk wrote:

> On Mon, 24 Jan 2005 23:44:43 +0900, Andreas Semt <as@computer-leipzig.de> wrote:
>
>>Hello everyone!
>>
>>found a "web book" by Bruno R. Preiss with the title:
>>"Data Structures and Algorithms with Object-Oriented
>>Design Patterns in Ruby".
>
>
> I think I've seen his before, and was struck by how little Ruby there
> is. It appears to be a general-purpose data structure + algorithm
> book, with some references to Ruby tossed in. There may even be some
> Ruby code, but a casual glance says otherwise.
>
>
> It may be handy for an abstract explanation what trees and lists are,
> though it does not seem to do so in the context of Ruby.
>
> James
>
>
It's pretty obvious that the author has warmed over an existing book
considering that the title on the web page is:
Data Structures and Algorithms with Object-Oriented Design Patterns in
Python

David Sletten

Nicholas Van Weerdenburg

1/25/2005 12:30:00 AM

0

Actually, it looks pretty good to me.

The side bar has these links:

C++ Version
Java Version
C# Version
Python Version

So it also offers a possibly interesting means to compare some
language features.

The code for the Ruby version is definitely Ruby, and you can download
it. It contains 280 files.

Running wc against the files:
lines=7731
words=23259
characters=174427

about 1/2 the lines are a header comment in the smaller programs, so
actualy numbers are probabably a little bit over half the above
numbers.

It general, it looks like there are a lot of different algorthims
implemented- merges, sorts, graphs, stacks, queues, lists, etc.

Overall, it looks very cool. I look forward to looking at it in more detail.

Nick

On Tue, 25 Jan 2005 08:40:51 +0900, David Sletten <david@slytobias.com> wrote:
> ruby talk wrote:
>
> > On Mon, 24 Jan 2005 23:44:43 +0900, Andreas Semt <as@computer-leipzig.de> wrote:
> >
> >>Hello everyone!
> >>
> >>found a "web book" by Bruno R. Preiss with the title:
> >>"Data Structures and Algorithms with Object-Oriented
> >>Design Patterns in Ruby".
> >
> >
> > I think I've seen his before, and was struck by how little Ruby there
> > is. It appears to be a general-purpose data structure + algorithm
> > book, with some references to Ruby tossed in. There may even be some
> > Ruby code, but a casual glance says otherwise.
> >
> >
> > It may be handy for an abstract explanation what trees and lists are,
> > though it does not seem to do so in the context of Ruby.
> >
> > James
> >
> >
> It's pretty obvious that the author has warmed over an existing book
> considering that the title on the web page is:
> Data Structures and Algorithms with Object-Oriented Design Patterns in
> Python
>
> David Sletten
>
>


--
Nicholas Van Weerdenburg


Nicholas Van Weerdenburg

1/25/2005 12:49:00 AM

0

http://www.brpreiss.com/books/opus8/programs/...

Is a listing of the code examples with a link to the code.

It may be a fairly literal translation of other code- it implements a
type manager for certain classes. Haven't looked closely enough to see
if there is a design reason for this.

Nick


On Mon, 24 Jan 2005 19:29:42 -0500, Nicholas Van Weerdenburg
<vanweerd@gmail.com> wrote:
> Actually, it looks pretty good to me.
>
> The side bar has these links:
>
> C++ Version
> Java Version
> C# Version
> Python Version
>
> So it also offers a possibly interesting means to compare some
> language features.
>
> The code for the Ruby version is definitely Ruby, and you can download
> it. It contains 280 files.
>
> Running wc against the files:
> lines=7731
> words=23259
> characters=174427
>
> about 1/2 the lines are a header comment in the smaller programs, so
> actualy numbers are probabably a little bit over half the above
> numbers.
>
> It general, it looks like there are a lot of different algorthims
> implemented- merges, sorts, graphs, stacks, queues, lists, etc.
>
> Overall, it looks very cool. I look forward to looking at it in more detail.
>
> Nick
>
> On Tue, 25 Jan 2005 08:40:51 +0900, David Sletten <david@slytobias.com> wrote:
> > ruby talk wrote:
> >
> > > On Mon, 24 Jan 2005 23:44:43 +0900, Andreas Semt <as@computer-leipzig.de> wrote:
> > >
> > >>Hello everyone!
> > >>
> > >>found a "web book" by Bruno R. Preiss with the title:
> > >>"Data Structures and Algorithms with Object-Oriented
> > >>Design Patterns in Ruby".
> > >
> > >
> > > I think I've seen his before, and was struck by how little Ruby there
> > > is. It appears to be a general-purpose data structure + algorithm
> > > book, with some references to Ruby tossed in. There may even be some
> > > Ruby code, but a casual glance says otherwise.
> > >
> > >
> > > It may be handy for an abstract explanation what trees and lists are,
> > > though it does not seem to do so in the context of Ruby.
> > >
> > > James
> > >
> > >
> > It's pretty obvious that the author has warmed over an existing book
> > considering that the title on the web page is:
> > Data Structures and Algorithms with Object-Oriented Design Patterns in
> > Python
> >
> > David Sletten
> >
> >
>
>
> --
> Nicholas Van Weerdenburg
>


--
Nicholas Van Weerdenburg


ts

1/25/2005 11:07:00 AM

0

>>>>> "N" == Nicholas Van Weerdenburg <vanweerd@gmail.com> writes:

N> So it also offers a possibly interesting means to compare some
N> language features.

Well, read this page

http://www.brpreiss.com/books/opus8/html/page596.html#SECTION001746000000...

he try to apply to ruby what he has learn from another language.


Guy Decoux