Chapter 1
Chapter 1
A young woman named Maryam recalls her first encounter with computer code during her university orientation, feeling an inexplicable pull that she later understands as divine guidance. She begins learning to program, struggles with self-doubt, and eventually decides to pursue software engineering as an act of faith.
The computer lab smelled of dust and stale air. Maryam sat at a terminal during her university orientation, her fingers hovering over the keyboard as if it might bite her. She had never touched a computer before—not really. In her small hometown, the only screens were television sets, and those belonged to the neighbours. Her father had always said that screens were distractions, that a good Muslim girl focused on her studies and her prayers. But here she was, in a city far from home, and the university had placed her in the Faculty of Engineering without asking what she wanted.
“This is a simple program,” the teaching assistant said, pointing at the black screen filled with green text. “It prints ‘Hello, World’ on the screen. Watch.”
Maryam watched as lines of strange symbols appeared. The TA typed something, pressed a key, and the words “Hello, World” glowed back at them. A small thing, but something in Maryam’s chest tightened. It was like watching a lock click open. She did not understand it, but she wanted to.
For the first month, she struggled. The other students seemed to have been born with a mouse in their hands. They talked about loops and variables as if discussing old friends. Maryam sat in the back of the lecture hall, taking notes in Arabic script, translating every English term into something she could grasp. At night, in her shared dormitory room, she would whisper the programming syntax like a prayer, repeating it until her roommate complained.
“Why are you muttering?” her roommate, a cheerful girl named Amina, asked one evening.
“I’m trying to memorize this,” Maryam said, pointing to her notebook. “If, else, while, for. It’s like a new language.”
“It is a new language,” Amina laughed. “But you’ll get it. Just practice.”
Practice. Maryam did not have a computer of her own. She could only use the lab during open hours, which were crowded and loud. So she wrote code on paper. She filled notebooks with lines of C++, drawing arrows to show the flow of logic. She wrote and erased, wrote and erased, until her fingers were stained with graphite.
One Friday afternoon, after Jumu'ah prayer, Maryam sat alone in the lab. The other students had gone home for the weekend. She opened a simple text editor and typed out a program that calculated the area of a circle. She compiled it. No errors. She ran it. The output was correct. She stared at the screen, and a warmth spread through her chest, as if someone had placed a gentle hand on her heart.
She whispered, “Alhamdulillah.”
It was a small victory, but it felt like a sign. She had prayed for guidance, for help in this strange new world of ones and zeros, and here was an answer. A program that worked. A path that opened.
From that day, Maryam approached coding with a new devotion. She woke before Fajr to review her notes. She stayed after classes to ask the TAs questions. She found that the logic of programming mirrored something deep inside her—a need for order, for cause and effect, for things that made sense. The world outside the lab was messy, full of uncertainty. But code, when written correctly, did exactly what you told it to do. It was honest.
Her parents called every week. Her mother worried that she was not eating properly. Her father asked about her studies with a guarded tone. He had not wanted her to go to university at all, but the imam had convinced him that education was a duty for every Muslim, male and female. “Learn what benefits you,” the imam had said. “And use it to benefit others.”
Maryam clung to those words. She wanted her coding to benefit others. She wanted to build something that would make her family proud, that would serve her community, that would please Allah. But she did not know how yet. She just knew that every time she sat down to write a program, she felt a quiet certainty that this was where she was meant to be.
By the end of the first semester, Maryam had earned an A in her introductory programming course. She held the grade report in her hands and read it three times, as if the letters might rearrange themselves. She had not failed. She had not merely passed. She had excelled.
That night, she performed an extra prayer of gratitude. She knelt on her small prayer rug, her forehead touching the floor, and she thanked Allah for the gift of understanding. She did not know where this path would lead, but she was no longer afraid to walk it.
The second semester brought new challenges: data structures, algorithms, discrete mathematics. Maryam struggled with recursion—the idea of a function calling itself seemed like a magic trick. She spent hours drawing tree diagrams, tracing the execution step by step. Her roommate found her asleep at the desk one morning, her cheek pressed against a page of Fibonacci sequences.
“You work too hard,” Amina said.
“I have to,” Maryam replied, rubbing her eyes. “I’m not as smart as the others.”
“That’s not true. You just learn differently. You’ll get it.”
Amina was kind, but Maryam knew the truth. She was behind. She had started late, with no background, no privilege of a home computer or a father who wrote code. All she had was her will and her faith. And she decided that would be enough.
One evening, during the spring break, Maryam visited the university library. She had heard about a programming competition for first-year students. The prize was a laptop. She did not think she would win, but she wanted to try. She filled out the registration form with trembling hands.
As she walked back to her dormitory, the sky was clear and the stars were bright. She remembered a verse from the Quran: “And He taught Adam the names of all things.” Names. Words. Language. Code was a language too, a way of naming and commanding. Perhaps this was part of the knowledge Allah had granted humans. Perhaps this was a form of worship, if done with the right intention.
She stopped walking and looked up at the stars. “Ya Allah,” she whispered, “if this path is good for me, make it easy. If it is not, turn me away.”
A cool breeze brushed her face. She took it as a sign of acceptance.
The competition was held in a large auditorium. Thirty students sat at rows of computers, each with a set of problems to solve in three hours. Maryam read through the problems slowly. The first few were easy—basic arithmetic, string manipulation. She solved them quickly. The fourth problem required recursion. She paused, took a deep breath, and began to write.
Her fingers moved across the keyboard with a rhythm she had not known she possessed. Line by line, the solution took shape. She compiled it. Errors. She fixed a misplaced semicolon. Compiled again. Clean. She ran the test cases. They passed.
She leaned back in her chair, her heart pounding. She had done it. She had written a recursive function that worked. The fear that had clung to her since the first day began to loosen.
When the results were announced, Maryam did not win the laptop. She came fifth. But the professor in charge, Dr. Hassan, approached her afterward.
“You have potential,” he said. “Keep working. You might consider specializing in software engineering.”
Software engineering. The words echoed in her mind as she walked back to her dormitory. She had never considered it as a career. She had only thought of getting through the next exam, the next semester. But now the idea settled into her chest like a seed.
That night, she opened her notebook and wrote at the top of a fresh page: “My intention: to become a software engineer, for the sake of Allah, and to use this skill to serve others.”
She did not know how she would achieve it. She did not know where the journey would take her. But she knew, with a certainty that went beyond logic, that this was the path Allah had placed before her.
And she was ready to walk it.