> This is not a made up situation: many people even within one company trying 
> to share code somewhat informally are going to write the same code to make 
> using CGPoint/Size/Rect easier, and now we can’t share anything safely.
Well, have a look at what C++ did: Nothing ;-) — and therefore, the world is 
littered with incompatible, trivial definitions of vectors, images, notes…

My favourite example are quaternions (just do a search for that term in Apples 
own frameworks…), so there is definitely an issue here.
The solution is quite easy, but that makes things really complicated: Just 
declare a standard (that's easy — so everyone wants to have his own one ;-).

Unless someone with outstanding reputation (sadly, Apple seems not to care for 
this) starts a project like Boost, we'll have to live with incompatibilities.

Tino
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to