Float

1 · · Sept. 26, 2005, 7 a.m.
Why now? My friend over at SciFiHiFi suggests that Microsoft likes trees, but Apple likes hash tables. Well, I think that Microsoft prefers integer arithmetic, while Apple (or at least Cocoa) likes floating point. Here's a bunch of examples I found: Take color. Microsoft's API (you know, THAT one) makes colors from integer components, but Cocoa makes colors from floats. Microsoft does sliders (like the iTunes volume control) with with integers, but NSSlider is floating point. Time, too. Mic...