
Most software advice online assumes your users are tech-savvy, your internet is fast, and your data...
Most software advice online assumes your users are tech-savvy, your internet is fast, and your data is clean. Then you build software for a hotel in Makkah during Ramadan, and reality teaches you a different curriculum.
Over the past few years, alongside my machine learning work, I have built finance and booking systems for hotels in Makkah and Madinah as a freelance developer. These are not demo projects. They run real front desks, real invoices, and real end-of-day reconciliations for businesses that cannot afford downtime when pilgrims are checking in at 2 a.m. This article is about what that work taught me — lessons I now apply to every system I build, including AI products.
Every hotel I have worked with started the same way: a heroic Excel file. One workbook for bookings, another for payments, a third for the night audit. It worked until it didn't — usually at the worst possible moment. A formula overwritten by a tired receptionist. Two staff members editing copies of the same file. A guest disputing a charge, and nobody able to prove what was actually paid.
The breaking point is never the software. It is trust. When a manager cannot answer "how much did we collect today, and from whom?" in under a minute, the system has failed, no matter how clever the spreadsheet is.
So the first design rule I learned: every money movement must be traceable to a person, a time, and a reason. In the systems I built, every payment, refund, and adjustment writes an immutable record. You cannot edit history; you can only add a correcting entry. That single decision eliminated most disputes, because the answer to any question was one search away.

Append-only money records: every payment becomes an immutable entry, mistakes are fixed by correcting entries, and disputes are answered with one search.
Hotel front desks run around the clock, often with staff whose first language is not English and who have never used anything more complex than WhatsApp. If your interface needs a training manual, it will fail.
I learned to design for the tiredest user on the worst shift:
None of this is glamorous. All of it decides whether software survives contact with reality.
The hardest part of hotel finance is not taking payments. It is closing the day. Cash, cards, bank transfers, and payments through booking platforms all land in different places, and someone has to prove they agree.
In spreadsheet-land, the night audit took hours and still produced arguments. In the system I built, the day closes with a reconciliation view: expected versus received, per payment method, with every mismatch listed as a clickable item that jumps straight to the offending transaction. Closing the day went from an evening of detective work to a short checklist.
The lesson generalizes far beyond hotels: build the reconciliation screen first. If your system cannot explain its own numbers, users will not trust it, and untrusted systems get abandoned — quietly, back to Excel.

The end-of-day closing view: expected versus received per payment method.
Internet connections drop. Power flickers. During peak pilgrimage seasons, networks strain. A front desk cannot tell a guest "come back when the Wi-Fi works."
So the systems I built treat offline as a normal state: work continues locally, and records sync when connectivity returns, with conflicts resolved by the immutable-entry rule above — nothing is overwritten, so nothing is lost. Designing for disconnection changed how I think about all software. "It works on my machine" means nothing; the question is whether it works on a bad night in a busy lobby.

Offline-first sync: work continues locally and records sync on reconnect.
You might wonder what hotel finance has to do with machine learning. More than I expected.
When I later built PocketBot — a fine-tuned language model that runs entirely in the browser — the design constraints felt familiar. It had to work offline. It had to be small enough for modest hardware. It had to be trustworthy: answers grounded in the business's own FAQ, not invented. The hotel years taught me that constraints are the product. A model that needs a perfect connection and a powerful server is a demo. A model that answers correctly on a cheap laptop with no internet is a tool.
The same applies to data. Hotel records taught me to respect messy, real-world data: duplicate guest names spelled three ways, phone numbers in two numeral systems, dates in two calendars. Machine learning pipelines break on exactly this kind of mess, and cleaning it thoughtfully — without destroying information — is most of the job.
Building for hotels in Makkah and Madinah made me a better engineer than any tutorial could. Real businesses do not care about your stack. They care whether the day closes cleanly, whether the guest at the desk gets served, and whether the numbers add up. Software that earns that trust is software that lasts — and that is the standard I now hold every project to, from finance systems to AI models.
Muhammad Faizan is an AI engineer and full-stack developer based in Saudi Arabia. He builds ML systems, web platforms, and developer tools including PocketBot and Gale Download Manager. More at faizzyhon.com.
Originally published at faizzyhon.com.