Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
omegalulw
on July 2, 2021
|
parent
|
context
|
favorite
| on:
Uno – the “unit” for dimensionless quantities
What's a use case for "units-east-per-unit-north"? Proportions of a room? Call it 3:2 or whatever, makes perfect sense. A direction? Use an angle. Like some other commenter said having to deal with "units-east-per-unit-north" is like code smell.
lupire
on July 2, 2021
[–]
why use an ambiguous unit when you have a precise unit? radians and ratios require a zero axis. The code smell is when the uniy is
missing
.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: