this post was submitted on 19 Sep 2024
1467 points (98.4% liked)

Programmer Humor

32710 readers
228 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Godnroc 21 points 3 months ago (1 children)

I've seen a lot of rulers that actually don't have a mark at 0 and instead go right to the edge as 0. Typically they are worn down, being made of wood, so the accuracy of the first inch is dubious. To ensure the distance is correct, sliding the ruler down one unit is a good idea. So, my ruler starts at 0 but my measurements start at 1.

[–] [email protected] 23 points 3 months ago (1 children)

That's why decent rulers have a 0 and a margin:

plastic ruler starting at 0 cm

[–] [email protected] 23 points 3 months ago (2 children)

It really depends on what you're measuring. Good luck measuring the distance from a corner if you can't get 0 to touch the end.

Tape measures are almost always designed with this in mind, so you can hook the end over an edge, or butt it up against something and the measurement will be accurate both ways, since the metal end can slide in or out by just the right amount.

[–] [email protected] 8 points 3 months ago

since the metal end can slide in or out by just the right amount.

OMG! I genuinely thought all the tape measures I have handled were a little broken.

[–] kurwa 5 points 3 months ago

Just shave down the rulers margin!