albertyw/albertyw.com

View on GitHub
app/notes/20170603-0601.md

Summary

Maintainability
Test Coverage
Straight Lines

straight-lines

1496469671

There are a ton of straight lines commonly seen in English text.

- `‐` - the hyphen, used to join breaks within words or compound words
- `–` - the en-dash, used for spans of numbers or compound adjectives
- `—` - the em-dash, used in place of colons, commas, and parentheses
- `_` - the underscore, originally used to underline words by typewriters
- `|` - the vertical bar of many uses.

This doesn't even include the dozens of singular lines [available in Unicode](http://unicodelookup.com/#hyphen/1).