this post was submitted on 12 Oct 2025
14 points (100.0% liked)

Melbourne

2209 readers
30 users here now

This community is a place created for the people of Melbourne and Victoria. We are a positive, welcoming and inclusive community. We might not agree about everything, but we always strive to stay civil and respectful.

The focus of our discussions is based around things that affect Victoria, but we are also free to discuss our local perspective on wider issues. Or head to the regular Daily Random Discussion thread to talk about anything.

Full Community Guidelines

Ongoing discussions, FAQs & Resources (still under construction)

Adoption Certificate for Nellie, the Daily Thread numbat (with thanks to @Catfish)

Feedback & Suggestions

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Nath@aussie.zone 2 points 2 days ago

Idempotent. It's a best-practice methodology for writing code. Run this code, it determines whether the thing needs to be done and does it. Run it over and over, and it will do no harm. It can be automated to run every 5 minutes to only do the thing when it is needed.

A real world picture to explain the concept:

Push either of the buttons over and over and over. You'll either turn the machine on/off, or do nothing.

I'd been doing this for years before I knew the word for it.