Hacker News new | ask | show | jobs
by gizmo686 4623 days ago
That is a horrible approach to take. Eventually you will end up with a DestroyCity, DestroyBuilding, DestroyBridge, ETC procedures. You should create a simple Destroy procedure that can take any valid target.