Skip to main content

Navigation Menu

Balancing Faith and a Technology Career
Back to BlogFaith & Gratitude

Balancing Faith and a Technology Career

4 min readMarch 14, 2026

The False Dichotomy

Early in my career, I absorbed an implicit narrative that faith and technical rigor existed in tension — that the engineer who prayed five times a day was somehow less serious about uptime than the engineer who monitored dashboards around the clock. The narrative was never stated explicitly, which made it harder to challenge, but it shaped my assumptions about how a professional life should look. For years, I compartmentalized: the mosque was the mosque, and the office was the office, and the two did not speak to each other.

The compartmentalization was unsustainable, not because the two domains conflicted but because I was artificially amputating a part of my ethical framework from my professional decisions. Islamic values are not a weekend hobby; they are a lens through which the whole world, including the engineering world, is interpreted. When I stopped pretending otherwise, I found not tension but consonance.

What the Tradition Asks of an Engineer

The Islamic ethical tradition asks three things of any craftsperson that translate directly to software engineering: that the work be done with excellence (itqan), that it serve a beneficial purpose (maslaha), and that it be honest (sidq). These are not abstract virtues. They have teeth.

  • Excellence (itqan) — God loves the one who does their work with excellence. In practice: tests, documentation, code review, the refusal to ship something you know is broken.
  • Beneficial purpose (maslaha) — the work should serve human flourishing. In practice: asking what your software does to and for the people who use it, and declining work that exploits or harms.
  • Honesty (sidq) — the craftsperson does not conceal defects. In practice: accurate status reports, honest estimates, the willingness to say I do not know and I was wrong.

Ethical AI Through a Faith Lens

My research in machine learning intersects with these values more directly than I expected. The questions that the Islamic tradition has wrestled with for centuries — about justice, about the dignity of the human person, about the responsibilities of those who hold power — are the same questions that the AI ethics literature is now scrambling to articulate. The vocabulary is different, but the substance overlaps remarkably.

Bias in machine learning is, at its core, a failure of justice — a system that distributes harm unevenly along lines the powerful do not see. Surveillance technology that tracks people without consent is a failure of dignity. Automation that deskills workers without providing transition is a failure of stewardship. These are not merely technical problems; they are ethical ones, and the engineer who recognizes them as such brings a richer framework to the solution than the engineer who sees only optimization objectives.

The prayer is not a pause in the work. It is a reorientation of the worker. Five times a day, I step away from the screen and remember that the code I write is not an end in itself but a means of serving people God has entrusted to my influence. That remembrance changes what I build and how I build it.

The Practice of Integration

Integration does not mean preaching at work. It means allowing the values to inform the micro-decisions: the estimate you give honestly instead of optimistically, the feature you advocate for because it serves users rather than metrics, the colleague you mentor not because it advances your career but because the tradition asks you to share knowledge freely. None of these are dramatic acts. They are the daily texture of a professional life lived with integrity.

I have found, somewhat to my surprise, that colleagues respect this integration even when they do not share the faith. Honesty, excellence, and service are recognizable virtues across traditions. The engineer who brings their whole self to work — values included — is not a less professional engineer. They are a more grounded one, and the grounding shows in the quality of their decisions under pressure. Faith has not made me a less rigorous engineer. It has made me a more responsible one, and the responsibility is the point.

Share this article

Khaldoun Senjab
Written by

Khaldoun Senjab

A software developer, CS researcher, and academic at the University of Sharjah with over 20 years of experience spanning software engineering, cloud computing, and artificial intelligence. Passionate about building systems that bridge the gap between academic research and real-world impact.