
2 Dec
2003
2 Dec
'03
5:06 a.m.
Nathan Hurst wrote:
It would mean that using classes(structs with methods) for things like NRPoint would be out, which would be a big loss in my book - there is a lot of complex code which is remarkably simplified (and made correct) if reimplemented using vector operations.
No it wouldn't.
:-)
It would just mean a non-C++ approach would be needed. If you have handles and methods, there are many ways to map things.
I've even seen C++ innards wrapped and exposed via TCL. A lot just comes down to the final usage and choosing a good way to get there.
Of course, choosing a poor way to get there would make things very hard.