Go Design Pattern: Singleton

    What is Singleton? The Singleton pattern is a design pattern that ensures a class has only one instance and provides a global access point to that instance. I will keep the post as simple as possible as our brain can process a little at a time (don’t know about yours, mine can’t). Let’s start with a scenario: Database connection You want to connect to the database of a service to fetch some information. You have to do the following: ...

    December 29, 2023 · 4 min · Rafiul Alam

    Tech Trends in 2024

    Congratulations! You’ve made it to 2024. If you’ve navigated it successfully, take a bow. If not, it’s time to prepare yourself for the challenges of 2024. Here are some of my personal suggestions on which technologies you should take note of this year. Generative AI The dominant tech trend will be using Generative Artificial Intelligence (AI) in 2024. A study by PwC estimates AI could add up to $15.7 trillion to the global economy by 2030. A big part of this spend will come from generative technologies. ...

    December 27, 2023 · 3 min · Rafiul Alam