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? 💊

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay