Skip to content

Mohcin Bounouara

Thoughts about software engineering and life

Work on your gaps

Whenever you find yourself comparing your journey to others, remember this: “Don’t compare your planting season to someone else’s harvest season”. Focus on your gaps and work on improving them. It requires both physical and mental effort, but there’s no other way to grow. This reminder is just as much a reminder for me as Continue reading “Work on your gaps”

It’s normal to have your notes when you explain things

One major area I’ve been working on in my personal development is overcoming my shyness when explaining technical topics. I’ve learned that I don’t need to be an expert or have years of practice to share knowledge about a particular subject. Many great instructors, both online and in person, openly share their notes and explain Continue reading “It’s normal to have your notes when you explain things”

Synchronous and Asynchronous code by simple examples

In software development, there are two important concepts: synchronous and asynchronous behavior. JavaScript developers, especially those who use vanilla JavaScript, know these well because of how promises work. I like to explain things in a simple way, so it’s easier for me and others to understand new topics. Synchronous Programming Let’s imagine you went to Continue reading “Synchronous and Asynchronous code by simple examples”

It’s ok to feel afraid when working to fill your knowledge gaps as a developer

I have been dealing with this feeling for years, and I still do. In the beginning, it was really frustrating for me, day by day, step by step, I learned to “TRY DEALING WITH IT”, not fully “DEALING WITH IT” yet, because I’m not at that level. Let me share a story that might be Continue reading “It’s ok to feel afraid when working to fill your knowledge gaps as a developer”

Take a breath before continue

When I sense that my motivation to publish is driven by the desire to share for the sake of just sharing or to impress others, I take a break from posting to realign myself and my goal from the whole thing. Impressing people was never and will never be the reason I began sharing, but Continue reading “Take a breath before continue”

Fixing Object Pagination with Laravel and Inertia.js that gives empty data

Problem When working with Laravel and Inertia.js, pagination returns an object instead of an array. This can make looping over the results a bit tricky, as the expected array structure isn’t accessible. For example, in a typical Laravel controller method like this: You might see the data coming through correctly as a prop in your Continue reading “Fixing Object Pagination with Laravel and Inertia.js that gives empty data”

Knowledge comes on the way.

In life, and especially in software development, you can not always fully understand every step or action right away. I used to struggle with this feeling, like I wasn’t good enough if I didn’t completely understand every detail of what I was doing in programming. However, I was wrong. It’s totally normal to use or Continue reading “Knowledge comes on the way.”

Fixing Laravel Route Conflicts, that led to 404 Errors for Existing Routes

Problem: Recently, while developing a feature to update resources in my Laravel app, I faced an unexpected issue: the create functionality, which had been working previously, suddenly stopped functioning. When I tried accessing the jobs/create route, it led to a 404 page, even though my unit tests confirmed that the route existed and the functionality Continue reading “Fixing Laravel Route Conflicts, that led to 404 Errors for Existing Routes”