May 16, 2011

Stupid Examples

Filed under: Main — admin @ 12:01 am

As long as I’m ranting about computer books (and their feeble imitators: online tutorials), let me unleash on my next favorite annoyance: Stupid, stupid examples.

The DOS 5 manual gave plenty of examples of how to work with subdirectories. (That’s what they called folders before they were called folders.)

The example read like this, though I’m quoting from memory here:

Say you want to create a subdirectory called GRAPES.

I. Kid. You. Not.

Grapes.

The demo in the manual went on to create various fruit subdirectories. That was it. Utterly useless because they never explained why you would need to create a subdirectory called GRAPES.

I got to meet the gal who wrote that DOS 5 manual. I was invited to the Microsoft campus to help them with some PR, and the gal who wrote the manual was at the table — along with the guy who wrote the DOSKEY utility.

The DOSKEY utility guy I got to thank profusely. But to the DOS 5 manual lady I said — as best as I can recall — “Grapes? Creating a subdirectory called grapes?”

She brushed it off as a generic, non-offensive example, but it remained utterly unrealistic.

Still, unrealistic examples exist through documentation and training materials.

Sometimes the examples are simply trite, such as the “Let’s create a Circle class” example in any object-oriented programming book. But more annoying to me is when the author uses the same example throughout the entire book.

For example, the MySQL manual I’m using. It really illustrates how to setup and manipulate a database for your music collection. It’s a good example, and it works well with the material. My issue: It’s the same example he uses throughout the book.

Now I understand: It’s a pain to have to recreate a new example to demonstrate each new concept for MySQL. Even so, all databases are not the same. I may not actually type in an entire database, so it’s not that creating a different example is too much work. It’s just that I’d at least least prefer other, real-world examples.

In my books, I try using different examples for each situation. In my programming books, I have databases for the seven dwarfs, the Wizard of Oz, a checking account, a stock-tracking account, and other examples that mix names, numbers, and different types of data. Beyond making the text interesting, the idea is to show other ways information can be stored and manipulated. You just can’t get that if you’re using the same old database over and over.

And, most definitely, in my books on file organization, I use real world examples. Definitely not GRAPES.

3 Comments

  1. Ugggg. My thoughts exactly. In the last C++ For Dummies the author used a class called “Nachos” and Objects “Chips” “Cheese” and “Peppers”. I liked that book, but that example was ridiculous.

    Comment by gamerguy473 — May 16, 2011 @ 7:47 am

  2. When I was trying to complete a teaching qualification, I was trying to show a class how to do spreadsheets and databases I uses video game examples for the fields to make it slightly interesting for them, instead of just doing a normal shop stock, it would get quite boring for them to trawl through loads of numbers that don’t mean anything to them.

    Comment by chiefnoobie — May 17, 2011 @ 9:37 am

  3. Spreadsheets are about more than numbers. I knew a gal who designed quilting patterns using Excel. As long as it can fit into a grid, you can use a spreadsheet.

    Comment by admin — May 17, 2011 @ 9:49 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.


Powered by WordPress