top | item 18770512

(no title)

spolsky | 7 years ago

A member of that team told me that for much of the project the implementation of the function to calculate the height of a line of text, which is a very complication operation involving fonts, sub- and super-scripts, etc., was implemented as "return 12;" (that was the entire body of the function) and it was marked as "DONE". With a bug of course but we can fix the bugs later

discuss

order

dehrmann|7 years ago

> Calculat[ing] the height of a line of text...is a very complicat[ed] operation.

So true. And width, and how many characters fit on a line. The list goes on.