Here is all articles with programming tag
Artificial Intelligence is one of the hottest topics in tech right now. Everywhere we look, we hear bold statements from AI company CEOs and tech influencers claiming that programmers will soon be replaced by AI. But how true is that? Some developers believe AI will eventually replace most programming jobs. Others completely disagree. The truth […]
Confused about naming your controllers? You’re not alone !! Sometimes you may hesitate when naming controllers in Laravel:should it be singular or plural? According to Laravel best practices, controllers should be named in singular form. Recommended examples: Not recommended examples: Laravel follows a clear and predictable pattern: #Why Singular? A controller represents a resource, not […]
If you’ve been working with Git for a while, you’ve probably experienced this: You commit your changes, push them to the remote repository… and then notice a typo in your commit message 😑 It might seem like a small issue, but in professional projects, clean and meaningful commit messages are part of best practices just […]
#Introduction array_column is one of my favorite functions in PHP. When you are dealing with a multidimensional array and want to extract a specific piece of data from that structure, array_column is extremely helpful. By passing the array and specifying the key name, you can extract the values of that key separately from the original […]
When writing conditional statements in programming languages, small habits can make a big difference in preventing bugs. One of those habits is known as the Yoda Condition. #What is Yoda? The Yoda Condition is a coding style where you place the constant or literal value on the left side of a comparison, and the variable […]
If you can’t solve it, take a break Every developer has experienced this situation at least once and in reality, it happens far more often than we like to admit. You’re deep into coding for hours. Everything seems fine until suddenly you hit a bug or an unexpected issue. At first, you think it’s something […]