DEV Community

[Comment from a deleted post]
Collapse
 
lexlohr profile image
Alex Lohr

There's different ways of future-proofing. The best way is the one that doesn't need additional implementation and just being thoughtful for future additions, for example using an object instead of multiple arguments so you can easily add more informations to be handled.