Why is the mouse cursor slightly tilted and not straight?


One of the users of StackExchange asked a question, which at first glance may look weird: why is the mouse cursor slightly tilted and not straight? Indeed, why the cursor is not vertical?

Vertical mouse cursor

The answer was given by an expert, who is familiar with the history of computer hardware. He confirms, that initially the mouse and therefore the mouse cursor invented by Douglas Engelbart, was an arrow pointing up.

However, graphical interface for the first operating system in the world was designed by Xerox, precisely — the Palo Alto Research Center. The mouse cursor was described in a document, which lists all of the specifications of XEROX PARC, the first computer with graphical user interface. It was found that, given the low resolution of the screens in those days, drawing a straight line (left edge of arrow) and a line at a 45 degree angle (right edge of arrow) was easier to do and more recognizable than the straight cursor.

Palo Alto Research Center

These days, the tradition is being kept alive despite high-resolution displays we have and huge technological progress in general.


  1. But how people came with this idea, i cannot grasp. Maybe they just rotating cursor around 360 degrees and get a simple solution?

Ropes — Fast Strings

Most of us work with strings one way or another. There’s no way to avoid them — when writing code, you’re doomed to concatinate strings every day, split them into parts and access certain characters by index. We are used to the fact that strings are fixed-length arrays of characters, which leads to certain limitations when working with them. For instance, we cannot quickly concatenate two strings. To do this, we will at first need to allocate the required amount of memory, and then copy there the data from the concatenated strings.