2009/3/10 Jonathan S. Shapiro <[email protected]>: > Okay. So now this brings us back to the question, which is: should the > operators be distinguished? If so, then we would probably need > distinct algorithm statements for the two families of matrix > operations.
I feel that either a) the operators should be as permissive as possible, allowing the same symbol to operate on floating points, fixed points, vectors, matrices and quaternions, or b) the types should be as correct and strict as possible, which requires a lot of operators. Programmers need dependable guidelines. Considering that BitC has a tendency to favor explicitness and that integer division is quite different from floating point division, personally I'm inclined towards option b). Aleksi Nurmi _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
