04-25-2015, 05:52 AM
(This post was last modified: 04-25-2015, 06:00 AM by LogicParrot.)
(04-24-2015, 10:29 PM)xoft Wrote: If it was just one function, there would be no way for it to signal an error, such as an unreachable destination. (exceptions are a big no-no in MCS!). other than that, I agree.
I actually like worktycho's idea of enforced safety. the unified function could return a status code (still calculating, failed to find path, path found, etc), and it could return ia cPath in a parameter reference/pointer.