profile

Categories

Tags

Welcome!

You'll find my course content and collaborative discussion about technology.

I teach as an adjunct faculty in the Computer Information Systems department at Spokane Community College

Email

kblake DOT scc AT gmail DOT com

Presentations/Interviews

RubyLearning.com interview
Course Technology - Ruby on Rails Presentation



Sorting and Enumerable Assignment

February 24th, 2008 |

This is a pretty hefty assignment, I suggest you start ASAP! Post questions here as usual.
Get assignment

Array review and Enumerable usage

February 24th, 2008 |

The Array class (as well as others) includes the Enumerable module (http://www.ruby-doc.org/core/classes/Enumerable.html). It provides a lot of power when dealing with collections. Great stuff. Please review the array functionality as well as the cool things you can do because of the methods in Enumerable.
Source code example
Update – I just ran into an article that writes about this topic: http://www.rubyfleebie.com/life-beyond-the-each-iterator/

Sort by lecture

February 21st, 2008 |

Source code for sort_by

Comparable Lecture

February 18th, 2008 |

Source code:
Comparable operator
Comparable in your custom class

Video Lecture:

This weeks lecture topics

February 17th, 2008 |

Comparable Module:

sort and sort_by Enumerable Module

Change to Syllabus

February 13th, 2008 |

I’ve decided to remove RSpec from the course outline. I wish we had more time to cover it because it is an amazing tool for programming. The whole Behavior Driven Development movement is really awesome. Fortunately, you should get RSpec covered in CIS 272 Agile Software Development. I feel we need to leave enough time to cover what is left in the course outline. Thus the next topic of study is ‘sorting and filtering’. Specifically, sort_by, comparable aka “spaceship operator”, and using the cool methods in the Enumerable module.

Rspec

February 7th, 2008 |

Here is your reading to prep you for the next topic of study. Lectures to follow.

CIS 283 - Modules Assignment

February 7th, 2008 |

Get Modules Assignment

Modules Example

February 4th, 2008 |

Code:
UnDRY solution without modules
DRY solution with modules

Sorry about the audio in this one. There are more hisses and pffs than I care to admit.

Programming Contest postponed

February 1st, 2008 |

quote from Tom Capaul’s email:

Due to all the missed days of school this week thanks to the snow, I am not going to be ready for the contest on Saturday, Feb. 9, so I am postponing it until March 1. Hope you can make it then. I apologize for any inconvenience this causes. Please feel free to contact me if you have any questions.
Thanks

Tom Capaul
Senior Lecturer in Computer Science
Eastern Washington University
509-359-7092
tcapaul@mail.ewu.edu