DEV Community

Cover image for Country administration is a bad implementation of programming good practices
Adam Świderski
Adam Świderski

Posted on

Country administration is a bad implementation of programming good practices

🚿 I just had a random shower thought: country administration is actually a bad implementation of programming good practices. 🤔 Now hear me out:

SOLID: 🏗️

  • Each unit takes care of a single area of life.

    • And granularly distributes the load on floors, rooms, and windows, like some bureaucratic microservices gone wrong.
    • It's up to you to figure out which office is the right one for your case. The API is not well documented and changes often.
  • Open to adding new procedures while keeping old ones invincible. 🧟‍♂️

    • You will never know anything about them, they are package private.
  • Every office of the same kind offers the same services and interface.🤡

    • But they often interpret the law in various ways - implementation details.
    • Error handling ranges from "overly detailed 20 pages of legal gibberish" to "We know what's wrong, but we won't tell you. Now fix your tax report in 7 days or else."
  • The stable interface contract is provided by using forms.📝

    • And boy, do they love their interfaces...
  • The government creates high-level policies, and the implementation follows them.⚙️

    • Created a system so independent it would run fine without users (dream architecture?)

DRY:🔄
My mother's maiden name has achieved a quantum state - simultaneously crucial enough to ask for it 15 times and irrelevant enough to ignore when I show my verified ID.

SLA:
Your passport will be ready in 30 days. Ish. Exceptions may occur. Go sue us if you want. The administration will pay fines from your taxes anyway.

Documentation:📚
Got a handy 17-page guide on how to fill one form. Delegated to an accountant because sometimes technical debt is worth the outsourcing cost.

Best part? 🎭 After each election cycle, this enterprise startup called the government does a pivot and a full architecture redesign and promotes new tech leads based on their networking skills rather than technical knowledge.

Are we learning from them, or are they learning from us? Because someone definitely copied someone's homework here...

PS. Should I take half of my usual vitamins? 💊

Top comments (0)