5 Patterns to Write Better and Clean Code in PythonWriting better code is always a challenge in any programming language. Before wring good code, you should have a better understanding of the programing language. Reading an entire book is time-consuming. At the same time, It will be hard to remember ...Mar 29, 2022 · 6 min readblog.decipher.dev
Validation in Python using Metaprogramming and Decorator- Advanced PythonA Decorator is a special kind of declaration that can apply to a function to enhance its functionality. This is also called known as metaprogramming. Here we are trying to modify the functionality of a function on compile time. Metaprogramming is a c...Jan 1, 2022 · 5 min readblog.decipher.dev
Infinite scroll | Pagination on API using JavaScript GeneratorsWhile writing Frontend code, You may have a scenario where you have to fetch all records from an API using pagination. You can break the code into multiple functions to do so. However, Maintaining so many variables and passing states from one functio...Oct 2, 2021 · 4 min readblog.decipher.dev
How to work with Date | JavaScript Weird PartsWorking with JavaScript has never been easy. You always required continuous learning and exploration of new APIs/specs. One of the toughest things is working with Date. You always struggle to find a suitable method or end up importing external librar...Aug 23, 2021 · 8 min readblog.decipher.dev
Internationalization in Plain React.jsWhile working in any MNC, You have to support customers from all around the world. Your app must support multi-lingual features. And The user should be able to switch between languages. Most of the time you choose third-party libraries like i18next. ...3CSJul 27, 2021 · 10 min readblog.decipher.dev