Hacker News new | past | comments | ask | show | jobs | submit login

What if the FAA updates the code for the coordinates of the one and not the other. Then your abstraction is moot.



Of course not, abstraction works even better there! Every point that differs will have either a conditional, or an abstract part to be implemented by child classes. So the abstraction lets you know at a glance what are the key points to look for.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: