August 6th, 2015, 2:27 pm
QuoteOriginally posted by: outrunAll your restriction (1992 systems, customer won't pay) have nothing to do with this topic, I'm just presenting a different design pattern and some stats, thats all. No need to get defensive, it's not about you. Besides (a little?) performance, the main problem is using (overloaded) member functions that should be non-member functions. Use center_of_gravity(obj); instead of obj.center_of_gravity().. Especially when you want to have a design where you want to add new operators in the future in a maintainable way.:beer;You miss the point. Most current CAD and I reckon finance class hierarchies do not use your ideas. And they probably never will for the reasons alluded to.You may have a great technical solution, but the problem is persuasion.Quotethe main problem is using (overloaded) member functions that should be non-member functionsHow can we test the vailidity of his assumption? How can you convince all those doubting Thomases? Enough ideology; how would you implement Craig Sneyd using non-members?
Last edited by
Cuchulainn on August 5th, 2015, 10:00 pm, edited 1 time in total.