My Apprenticeship - Tuesday, July 6, 2004

06 Jul 2004

In the summer of 2009 I revisited my 2004 summer apprenticeship at Object Mentor. What follows is the original 2004 post and then some 2009 commentary.

Fun things you learn when Micah returns: Your tests? – don’t really test what they should. The regex expression you labored over? – can be done a lot better. All the time it takes to run your program? – is because your program is doing 20 more operations per file than it needs to. All that polymorphism stuff you vaguely grasp? – you don’t know at all.

All part of the learning process.

Other than that it was a pretty good day. I got back from Vegas last night and was pretty tired (Cirque de Soile’s ‘O’ and ‘Mystere’ are amazing. Stop reading this blog and go see them now). Before Micah knocked some sense into our heads, Paul and I spent most of the day working on the State Map Compiler. Writing tests for this thing sucks. The output is basically one long string (which is what a program is) so the tests are mostly comparing lots of strings. All the excitement of: missed spaces, absent newline characters (‘\n’), and improper capitalization.

A recurring theme in any apprenticeship program: The mentor checks in with the apprentices and points out all their mistakes. Since I was writing this blog in hopes of getting a job I edited out a lot of these revelations so I didn’t look like quite such a dumb-ass but, in truth, this probably happened every few days (if not daily).

Fun side note: Laura (my wife) and I went to Vegas that time because she had successfully completed a sticker program. After having our millionth conversation about how she needs to clean up her study, car, office, etc she suggested a sticker program (You know the thing where every week, if you complete the task, you get a sticker in a cell on a table?). I thought she was kidding, but it turns out she wasn’t. So we created the “Super Fun Sticker Program for Increased Cleanliness” which lasted 6 weeks if I remember correctly. If she got all the stickers then we went to Vegas and saw some shows. After I tell this story people either tend to think I’m a terrible husband for subjecting her to some sort of behavioral experiment or a very nice husband for encouraging her quirkiness.