Still it's quite rude when some people spend a lot of time on some part of the codebase only to find someone rewrite it without discussing it first.
Also the point here is about cognitive cost of working on the refactored code, not broken functionalities.