5

This is really annoying when you try to follow the documentation Squeak by Example.

Instead of calling the mouse buttons left, right, and middle, like in any other documentation, they give them colors. It's even suggested to label the mouse to help you learning.

It's 2009 and there are 3 dominant systems left: Windows, MacOS X, Linux

Why do they still stick to this naming scheme? How should I be able to sell this to co-workers, or even customers?

From Squeak by Example:

Squeak avoids terms like “left mouse click” because different computers, mice, keyboards and personal configurations mean that different users will need to press different physical buttons to achieve the same effect. Instead, the mouse buttons are labeled with colors. The mouse button that you pressed to get the “World” menu is called the red button; it is most often used for selecting items in lists, selecting text, and selecting menu items. When you start using Squeak, it can be surprisingly helpful to actually label your mouse, as shown in Figure 1.4.

Figure 1.4

stesch
  • 7,202
  • 6
  • 47
  • 62
  • 1
    You want to sell Squeak (an obscure, education based implementation of Smalltalk, a not really well supported language nowadays) to co-workers and/or customers? In that case, the naming scheme for the mouse buttons is gonna be the less of your worries. (I love Smalltalk --I'm just talking pragmatism here). – Hejazzman Apr 25 '09 at 15:15
  • @foljs: No, I gave up before that. I was just interested in the language, but it seems to be a waste of time if it is limited that way. – stesch Apr 25 '09 at 17:52
  • 1
    Please anybody reading this, try Pharo or Squeak. It's great. – Warren P Nov 10 '11 at 21:34

8 Answers8

8

The button colors probably date back to the experiments at Xerox (where the mouse was invented). So maybe the question should be “why do current computers have colorless mouse buttons?” :D

As for sticking with the colors in the book, I think the reason was that the colors are still mentioned in the code, and colors don't always get mapped to the same fingers depending on the platform. But I agree, the color system is not very practical; probably the best would be to use primary/secondary/tertiary buttons?

Damien Pollet
  • 6,488
  • 3
  • 27
  • 28
  • 1
    I found an ancient "jellybean mouse" image here that shows what the real historical era hardware might have looked like: http://www.oldmouse.com/mouse/hawley/X063Xjellybeans.shtml – Warren P Nov 10 '11 at 21:31
4

That's one of those things you take with a grain of salt. :) I read that the other day, and I will certainly not go out of my way to add some colourful buttons to my mouse.

Just mentally substitute "left-click" for red, etc.

Jeramy Rutley
  • 338
  • 3
  • 13
3

It's ridiculous. Left and right are already abstract concepts. Naming the buttons with colours is an abstraction of an abstraction.

  • 2
    Well, colors were very concrete on the original mice for the Xerox Alto, it's just a standard that didn't live. – Damien Pollet Apr 15 '09 at 09:14
  • 3
    No, Left and Right are not "already abstract concepts". Where does that come from? We call the Left mouse button such because it actually *is* in the left. Left handed people still get confused by this --which goes to show that it is not an abstract concept. – Hejazzman Apr 25 '09 at 15:12
1

The labels left and right are avoided because left-handed people will have the buttons reversed. What does it mean when a lefty mouse has its right button clicked? Should the program perform its right-click action or its left-click action. If we simply swap the mappings, then right and left become rather meaningless to the programmer.

I assume the designers of Squeak wanted to avoid this thorny issue, so actions are labeled with colors which are agnostic to right/left.

Greg
  • 23,155
  • 11
  • 57
  • 79
1

Squeak is a SmallTalk tool. Obviously they feel compelled to abstract the buttons into something less specific.

It appears they've blurred the line between reality and code constructs.

Phil Hord
  • 12,780
  • 1
  • 26
  • 30
1

This legacy is so 70ies, I hope that Pharo will fix this.

akuhn
  • 27,477
  • 2
  • 76
  • 91
  • It seems to me that what Pharo does in 2011, will get put back into Squeak in 2012. I just downloaded Squeak today, and I am impressed by how clean and nice the default VM image is. Gone is the squeak image of five years ago that looked like some kind of mouldy university experiment. squeak looks clean, lean, and nice. – Warren P Nov 10 '11 at 21:33
1

Contrary to what Damien said, the mouse was not invented at Xerox; rather, it was invented by team at Stanford Research Institute led by Douglas Engelbart as part of their revolutionary ONLINE system.

The coloring of the buttons is an old, old convention, one that I personally tend not to pay much attention to. The odd thing about that image you posted, though, is that the right button ("yellow" in Smalltalk parlance) appears more green than yellow--at least, to me. Does it appear that way to anyone else? Perhaps this is in part why the coloring convention was dropped elsewhere (and ought similarly be abandoned in Squeak).

  • 2
    Germans were first: http://www.heise.de/newsticker/Auf-den-Spuren-der-deutschen-Computermaus--/meldung/136901 – stesch Apr 30 '09 at 20:53
1

The paragraph that was quoted has been echoed among the answers as well: the "left-click" might or might not come from the button on the left - and the "right-click" might or might not come from the button on the right.

A pet peeve of mine is the talk of a "third button" - which almost always is in the middle. The sequence is not 1-3-2 but 1-2-3. Perhaps that third button should be a color too....

Mei
  • 1,129
  • 1
  • 11
  • 20