3 ms·
You don't write a routine that draws circles and then think that rounded rectangles are going to be hard, that's just not going to happen. Either this part of t
by Jyaif 5y ago
You don't write a routine that draws circles and then think that rounded rectangles are going to be hard, that's just not going to happen.
Either this part of the story is made up, or Bill Atkinson was playing mind games with Steve Jobs.
- hnlmorg 5y agoI put it down to the limitation of the hardware at the time. Drawing a circle is the same math throughout the shape. Same with the square. But a rounded rectangle requires breaking the routine into two distinct mathematical operations at 8 different intervals. Doing so on a system with highly constrained resources might not be as simple as "I figured circles and squares out, so rounded rectangles must be a bit of both". Baring in mind the goal of this was to create a performant production-ready routine rather than a pretty tech demo that isn't really suitable for everyday use. I remember my days working on similar (and older hardware too) and stuff that was conceptually simple would often be much harder to implement in practice. And not always just because of hardware limitations, some of the algorithms we take for granted today hadn't been invented back then either, so we were having to figure all sorts of things out for the first time.