This has some good "nerd snipe" potential for programming language designers.
In grad school, I was poking around possible solutions to this (though sadly didn't go far enough). A possible direction - modules could expose all of their implied imports to configurability.
Quote Tweet
I wrote my thoughts about writing a new type vs adding new functions to change behavior:
saturating_add vs. saturating_int – new function vs. new type?
foonathan.net/2022/03/behavi
#cpp #cplusplus
2
2
7



