CSC302 2011S Programming Languages
[Skip to Body]
Admin:
[Front Door]
[Schedule]
[Handouts]
[Honesty]
[Piazzza]
Current:
[Current Outline]
[Current EBoard]
[Current Assignment]
[Current Lab]
[Current Reading]
Groupings:
[Assignments]
[EBoards]
[Examples]
[Exams]
[Handouts]
[Labs]
[Outlines]
[Readings]
[Reference]
Languages:
[Clojure]
[Erlang]
[Haskell]
[Io]
[Prolog (GNU)]
[Ruby]
[Scala]
Misc:
[SamR]
[CSC302 2007S]
[7L7W]
This outline is also available in PDF.
Held: Friday, 28 January 2011
Summary: We deepen our understanding of Ruby. In particular, we consider blocks, arrays, hashes, and the basics of classes.
Related Pages:
Notes:
Overview:
((1..9).methods - [1,2].methods).sort
- gave set difference
x = {puts "Hello"}
{puts "Hello"}.call
We'll quickly go through some of the ideas introduced in Tate 2.3.
hash
yield
blockvar.call
class Name ...
class Name < Superclass ...
@ to distinguish
them from regular variables.
@@ to distinguish
them from regular variables and object variables.
We'll also look at some of your questions.
[Skip to Body]
Admin:
[Front Door]
[Schedule]
[Handouts]
[Honesty]
[Piazzza]
Current:
[Current Outline]
[Current EBoard]
[Current Assignment]
[Current Lab]
[Current Reading]
Groupings:
[Assignments]
[EBoards]
[Examples]
[Exams]
[Handouts]
[Labs]
[Outlines]
[Readings]
[Reference]
Languages:
[Clojure]
[Erlang]
[Haskell]
[Io]
[Prolog (GNU)]
[Ruby]
[Scala]
Misc:
[SamR]
[CSC302 2007S]
[7L7W]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Mon Apr 25 08:07:00 2011.
The source to the document was last modified on Wed Jan 5 12:07:32 2011.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CSC302/2011S/Outlines/outline.03.html.
You may wish to
validate this document's HTML
;
;