Published in Level Up Coding·PinnedWorking with XML Serialization in Java and KotlinYou may have encountered situations in your Java/Kotlin-based application, where you have to work with XML. You need to manipulate XML and return s response to a request or write to a file. You may have an old application which still supports some legacy APIs where you need to serialise…Kotlin4 min read
Published in Level Up Coding·PinnedKotlin Design Patterns Made Easy | Creational PatternsAdvancing a programming language is always challenging. You required experience and skill set to advance a programming language. Learning data structure and its design patterns are few among many aspects of Advancing your skillset. I have prior knowledge of Kotlin. However, recently I started again coding in Kotlin. So I…Kotlin4 min read
Published in Level Up Coding·Pinned5 Patterns to Write Better Clean Code in Python — Part 1Writing 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 patterns. In this article, I will highlight a few…Python4 min read
Published in Level Up Coding·PinnedValidation with Metaprogramming Decorators in Python — Advanced PythonA Decorator is a special type of declaration that can be applied to a function to improve its functionality. This is also a type of metaprogramming. We’re attempting to change the functionality of a function at compile time. Metaprogramming is a fascinating concept in any programming language. It can be…Programming3 min read
Published in Level Up Coding·PinnedReact.js is overrated, use Svelte insteadI am writing React.js for almost 3 years now. React.js is a good library to work with. It has one of the best ecosystems in the JavaScript world. However, I feel React.js is overrated to some extent. I write a lot of boilerplate code in React.js on a day-to-day basis…React5 min read
Published in Level Up Coding·May 23Simple Pub-Sub Pattern Using Windows Custom Event | JavaScriptWhile working on Web Applications, You may have got in the situation where you do need a Pub-Sub design pattern to send and receive messages. You can always use some external module. However, In this blog, I will share how you can quickly build pub-sub design patterns using Plain JavaScript…Java Script4 min read
Published in JavaScript in Plain English·May 6Build an Alert Messenger in React Using Context and TypeScriptA step-by-step guide on creating an alert system for your React application. — A better notification system is needed for a good front-end application. You should create and display alerts to users based on the application’s requirements and the user’s pov. Typically, you would implement a single toast message per page. In some cases, you may want to display multiple messages on the…Reactjs4 min read
Published in Level Up Coding·Mar 20Data Reading in Python — Easy LearningIt makes no difference what programming language you are using. You must deal with data and databases if you need to interface with a real-world application. The type of data source you use depends on your application. The majority of your time in Python will be spent reading and interacting…Programming3 min read
Published in Level Up Coding·Dec 22, 2021Learning Solidity with Ease — IntroductionSolidity is an object-oriented general-purpose programing language. Solidity is used to write smart contracts on the Ethereum network. There are a lot of resources available on the internet. However, gathering information from different resources required a lot of effort. So I decided to make notes on these resources and publish…Blockchain7 min read
Published in JavaScript in Plain English·Dec 21, 2021Implement HTTP Client with Interceptor using Plain JavaScriptIt is always fascinating to build something from scratch. There is always a possibility to use libraries like Axios. However, building from scratch not only helps you to understand the programming language. It also helps you to improve performance. In this article, We will use JavaScript Fetch to build an…Java Script6 min read