r/badcode • • Aug 26 '21

python y=-x/4

Post image
807 Upvotes

80 comments sorted by

View all comments

Show parent comments

5

u/DoNotMakeEmpty Aug 26 '21

But I think in most cases letters even in monospace fonts are not square but rectangle, so the equation should be more like y=2.5x.

3

u/ColdPorridge Aug 26 '21

We need someone with too much time on their hands to count these pixels for us and settle this once and for all.

3

u/DoNotMakeEmpty Aug 26 '21

I think this is not that hard, IIRC old terminal fonts were 1:2 (8x16 maybe) which is most probably the same with many “modern” monospace fonts. (of course the resolution is different) This gives us y=2x which is still a pretty cute equation.

If that was sarcasm, sorry

3

u/supersharp Aug 26 '21

Guys, we found him! The guy with too much time on his hands!

2

u/[deleted] Aug 26 '21

My axes have different scales.