From Inversion of Control to Dependency Injection

June 0, 2024

Inversion of Control and Dependency Injection are two important concepts in object-oriented programming. It is the basic principles that help us build flexible, maintainable, and extensible applications. This article will help you understand more about Inversion of Control and Dependency Injection.


The limitation of thread in Python

May 6, 2024

What are the differences between threads in Python and threads in other programming languages? What is the GIL? Is it always more efficient to use multithreading and multiprocessing over single-threading and single-processing? In this article, I will discuss the limitations of threads in Python and provide recommendations on when to use multithreading, multiprocessing, or stick with single-threading.


Using observer pattern in web development

May 4, 2024

Design patterns are among the essential skills for a programmer. Mastering the application of design patterns not only enhances their understanding of programming but also elevates their value in the industry. In this article, I'll share one of the relatively common design patterns and how to apply it in frontend web development - the Observer pattern.


Create a text completion for yourself without internet

December 3, 2023

Since ChatGPT has become increasingly popular, chatbot is appearence everywhere in your life. In this post, I want to show you how to create a chatbot in locally with Python.


From PEP 492 to the era of asynchrony

June 2, 2023

Asynchrony can be implemented in many programming languages, including Python. However, asynchrony in early Python was not as widely used as Javascript or C# because of its difficult implementation. In this article, I will introduce the history of asynchronous programming in Python and its growth at the present time.


Why FastAPI fast?

June 5, 2023

Recently, there has been a web framework become popular in the Python community - FastAPI. In this post, I show you how FastAPI is good and why you should decide on FastAPI for development APIs


Asynchrony in Python - Event loop | Part 2

March 1, 2021

One of the important concepts in programming is the event loop or event loop. It's not an exaggeration to say that event loops are the heart of asynchronous programming in languages like Python or Javascript, ...


Asynchrony in Python - Coroutine | Part 1

March 5, 2021

Asynchrony is a very common concept in programming languages such as Javascript, Kotlin or Python. In particular, programmers who work as much with networking as web developers often have to work with this concept. In this article, I will explain one of the components that make up the async programming ecosystem in Python and of course, it also brings this idea to some other languages.