GIGO: words unreadable aloud
Mishrogo Weedapeval
 

 

  Thursday 12 August 2004
Chapter 7, Exercise 2

Had a good time in Montana, though work pressures allowed me only 5 hours of sleep over the last couple of nights before the trip. Bittersweet, as expected. Not bitterroot. Great visibility from the airplane both directions. On the way there, the bay area socked in but only to about 1200 feet, so all my familiar mountain landmarks were islands in the fog; Clear Lake and Berryessa; Castle Crags and the Trinity Alps. The Channelled Scablands. On the way back, Butte stood out like a huge infected boil; but the lakes and valleys of the Bitterroots were beautiful; saw the Snake, the Columbia, the Deschutes; Rainier, Adams, St Helens, Hood, Jefferson, the Sisters, Shasta, Lassen, and identified (I think) Grizzly Lake in the Trinities, one of my favoritest day hikes ever.

But enough of that. It's late, so all you get for exercise 2 is a diff:

$$ diff c7xShapes.scala c7x2.scala
22a23,27
> class Barrel with Shape {
>     override def draw : unit = W.rn( "Barrel.draw" );
>     override def erase : unit = W.rn( "Barrel.erase");
>     override def roll : unit = W.rn( "Barrel.roll cooooooool.");
> }
27c32
<       rand.nextInt(3) match {
---
>       rand.nextInt(4) match {
30a36
>        case 3 => new Barrel;
34c40
< object Shapes {
---
> object c7x2 {

Pretty trivial.
12:17:52 AM   comment/     



Click here to visit the Radio UserLand website. Click to see the XML version of this web page. © Copyright 2007 Doug Landauer .
Last update: 07/2/6; 12:41:34 .
Click here to send an email to the editor of this weblog.

August 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Jul   Sep

Previous/Next