Hacker News new | ask | show | jobs
by eitland 2849 days ago
> If only there were unit tests for real-life bureaucracy...

Not called unit tests but we have something similar here in Norway:

- 5 or more weeks of mandatory holidays. (both you and your boss get trouble if you don't use it.)

- maternity/paternity leave (more than a year combined IIRC, and while it won't land an individual in hot water legally, -everyone including your boss expects you to take advantage of it. Oh and it might land the company in hot water if they prevent anyone from using it which might explain why even the company often actively encourage it.)

It works mostly the same:

- like unit tests it verifies that the organization works, including edge cases like "what if half the company is away for two weeks at the same time". (The last point is encouraged by design it seems by specifying that at least two of the weeks should be in the summer.)

- like unit tests it might seem like a giant waste but turns out to be useful in the long run.

2 comments

> 5 or more weeks of mandatory holidays.

Impossible. Our handsomest politicians assure us that even 2 weeks vacation is pushing the bounds of outright societal collapse!

That's another similarity, I guess.

"We struggle to deliver the features we promised and you say we should create test code as well?"

Ah, I really appreciate that you've made that connection. Given the current state of politics in the US, I'm afraid if I ever bring it up it'll be perceived as a gimmicky talking point for expanding socialist policies, but literally every engineer (or someone who's tinkered with something) knows that removing components from a system is an effective method for testing its robustness. Even more so, the worst time to figure out that your system is not robust is the exact moment when you need it to be robust.