Re:The best engineering interview question I've ever gotten
by bombcar on Sunday April 17, 2022 @10:39PM
(#31066719)
I would lean this way - I'm not a software developer by trade but I can cut and paste and look at compiler output.
Changing a bool to an int is the kind of thing that I would worry would have unknown side-effects somewhere, whereas adding new code paths is unlikely to explode the existing.
Upstream would be a consideration, and potentially seeing what kind of a patch they'd accept.
Changing a bool to an int is the kind of thing that I would worry would have unknown side-effects somewhere, whereas adding new code paths is unlikely to explode the existing.
Upstream would be a consideration, and potentially seeing what kind of a patch they'd accept.