Overloading based on attributes - is it a good idea?

Walter Bright newshound2 at digitalmars.com
Tue May 28 21:41:28 UTC 2019


On 5/28/2019 2:12 PM, Jonathan Marler wrote:
> turtles all the way down.

Again, it is not that simple. Call graphs have cycles in them, they are not 
acyclic. Furthermore, since you suggested different code be instantiated based 
on inferred attributes, you have a FAR FAR more complex problem to resolve, 
since the graph connections change at every decision point.


More information about the Digitalmars-d mailing list