Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Brometheus
on May 23, 2022
|
parent
|
context
|
favorite
| on:
“What if it changes?”
What if the FAA updates the code for the coordinates of the one and not the other. Then your abstraction is moot.
woolion
on May 23, 2022
[–]
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: