Techno Blender
Digitally Yours.
Browsing Tag

Aliases

How to Configure Path Aliases in Frontend Projects in the Native Way

Too Long; Didn't ReadThe imports field has a good chance of becoming a standard way to configure path aliases for many developers in the coming years. It offers significant advantages compared to traditional configuration methods and is already supported by common development tools (as of April 2023). However, it also has some limitations that can be mitigated by following recommended configuration practices. Too Long; Didn't ReadThe imports field has a good chance of becoming a standard way to configure path aliases…

Python: Type Aliases, Type Variables, New Types

PYTHON PROGRAMMINGSee type aliases, type variables and new types in actionPython offers type hints. The choice is still yours. Photo by William Felker on UnsplashAs I wrote in the article below, if you want to use type hints in Python, do it the right way:What is the right way? Simply put, one that makes your code readable and correct from a point of view of static type checkers. So, two things: readable and correct.Among the things I mentioned in the article above was that creating type aliases is a great way of…