Laravel is one of the most popular PHP frameworks today, loved by developers for its elegant syntax, powerful tools, and seamless integration with modern web development practices. Whether you’re a seasoned developer or just starting, adopting some time-saving tips and tricks can significantly...
In the ever-evolving landscape of Ruby on Rails, how we choose to handle code can be as diverse as the developers themselves. Recently, my exploration into refactoring Rails helper to generate UI component names dynamically, led me down the path of metaprogramming – a powerful, dynamic tool that...
Hello, budding Ruby enthusiasts! 🌟 Have you ever heard of the song 99 Bottles of Beer on The Wall? It's the kind of catchy tune that’s perfect for passing time with friends or family as you cruise down the vast stretches of highways in the US or Canada. With its repetitive melody and simple...
originally posted on my blog You know that feeling when you're in the mood to crack on some code and do a 'brain dump' of ideas and code it? I'm sure everyone does, and it's perfectly fine. But sometimes, we forget about the initial brain dump and carry on with our lives, jobs, and continue...
In software engineering, SOLID is an acronym for 5 design principles intended to make software designs more understandable, flexible, robust, and maintainable. Adopting these practices can contribute to avoiding code smells too. The 5 SOLID principles are: S - The single-responsibility principle...
In this article, I’ll share 10 of the JavaScript tips, tricks, and best practices that I follow and found useful. 1. Use Numeric Separators This is one of the most used operators when I have to deal with large numbers. When using a separator (with just an _) in number it looks better than an...
Introduction 👋 Python is a beautifully designed high-level interpreted programming language that provides us with many features. This is a gentle guide to some of those Python features that you probably might not be aware of or didn't know about that specific use-case which you'll see later in...