January 18th, 2022

How to write like Raymond: The typing-saver

Here’s another installment in the extremely sporadic series on How to write like Raymond.

Last time, I discussed how the using statement can be used to create type aliases in C# and C++. The aliases are not types in their own right; they just let you refer to another type in a more convenient way.

The nickname I have for things like type aliases is typing-saver.

In the git source control system, a lightweight tag is just a typing-saver for a commit hash. Tags are not version-controlled, you can’t merge them, you can’t do anything with them except share them with others. They’re just a sticky-note with a hash written on it.

In the Perforce source control system, a branch is just a typing-saver for an integration. Although people casually talk about branches to refer to the set of files on the right-hand side of the branch specification, the branch specification itself is used just for describing the relationship between two sets of files; it is not the files themselves. Although it is common for this relationship to be a direct mapping between trees, a branch specification could in principle establishes relationships between files scattered all over the depot.

So if you want to write like me, pull out the phrase “typing-saver” whenever you talk about things that allow you to type something short instead of something longer, but which doesn’t add any features beyond that.

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

1 comment

Discussion is closed. Login to edit/delete existing comments.

  • Adam Rosenfield

    The pedant in me wants to spell it unhyphenated as typing saver. My linguistics is a bit rusty on this, but it would be analogous with shopping cart, operating system, freezing point, etc. Working class is a noun phrase, while working-class is an adjective.