Home > Programming > Ruby Programming



A Little Ruby, A Lot of Objects

Sort Desciption:

... to use Ruby for general-purpose programming - and you should, since its a wonderful rapid- development language for many types of applications - the book to read is Programming Ruby ...



Content Inside:

Version 0.1 Copyright © 2001 by Brian Marick. All Rights Reserved. DRAFT (marick@visibleworkings.com) DRAFT A Little Ruby, A Lot of Objects Preface Welcome to my little book. In it, my goal is to teach you a way to think about computation, to show you how far you can take a simple idea: that all computation consists of sending messages to objects. Object-oriented programming is no longer unusual, but taking it to the extreme - making everything an object - is still supported by only a few programming languages. Can I justify this book in practical terms? Will reading it make you a better programmer, even if you never use "call with current continuation" or indulge in "metaclass hackery"? I think it might, but perhaps only if youre the sort of person who would read this sort of book even if it had no practical value. The real reason for reading this book is that the ideas in it are neat . Theres an intellectual heritage here, a history of people building idea upon idea. Its an academic heritage, but not in the fussy sense. Its more a joyous heritage of tinkerers, of people buttonholing their friends and saying, "You know, if I take that and think about it like this , look what I can do!" Prerequisites With effort, someone who didnt know programming could read this book. I expect that most readers will know at least one programming language, not necessarily an object- oriented one. I use a few simple mathematical ideas in some of the examples. The factorial function is the most complex, and I explain a simplified form of it, rather than assume you know what it is. I dont think the book requires any particular mathematical inclination, so dont be scared off at the first sight of factorial . Using the book This book is written as a dialogue between two people, one who knows objects well, and one who doesnt. The text builds cumulatively. If you dont understand something about one chapter, youll likely underst ...

Source: www.visibleworkings.com


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related Files

Ruby Course —animmersive programming course—

Filed under: Programming and Ruby Programming
Licence Copyrightc 2004-2006 Brian Schroeder Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1 ...

Programming in Ruby

Filed under: Programming and Ruby Programming
Programming in Ruby Dave Thomas Andy Hun t 1 September 13,2000 1 Dave and Andyare authors of Programming Ruby and The Pragmatic Programmer , both from Addison-Wesley.

A Little Ruby, A Lot of Objects

Filed under: Programming and Ruby Programming
... to use Ruby for general-purpose programming - and you should, since its a wonderful rapid- development language for many types of applications - the book to read is Programming Ruby ...

JRuby: Bringing Ruby to the Java Platform

Filed under: Programming and Ruby Programming
Sun Confidential: Internal Only 2 Agenda - Part One • Who Am I • The Ruby Programming Language • Walkthrough 1: Introduction to Ruby • Why Use Ruby? • JRuby:

Sockets programming in Ruby

Filed under: Programming and Ruby Programming
Sockets programming in Ruby Explore Rubysfundamental sockets interfaces for networking applications Skill Level: Intermediate M. Tim Jones ( mtj@mtjones.com ) Senior Principal ...