Browsing Tag
cleancode
11 posts
Mastering Clean Code: Essential Practices Every Developer Should Know
Writing clean code is a fundamental skill for any developer, ensuring your work is not only functional but…
How I Write Clean Code As A Develeoper : Step By Step
These are some steps for write a clean code, I have also included my perspectives and preferences. Naming…
How to use Optional class (Java) – best practices
Qick info about Optional Optional isn’t meant to be stored as state. Optional is not meant to be…
DRY, KISS, and YAGNI to avoid Over-engineering Trap
Refactor and architect your code based on DRY, KISS, and YAGNI principles, beware of over-engineering trap that leads…
Client-side object validation with Yup
Introduction Typescript introduced many positive things in JavaScript. When used right, it can help with having cleaner code…
Unit testing to cleaner code
Introduction Everyone will agree, software testing has an important place in software development. But why is that? The…
React Pro Tip #2 — How to Type `this.props` to Include `defaultProps`
This trick is for those occasions when you use a class component, and don’t want TypeScript to complain…
Builder pattern in TypeScript
Introduction The builder pattern is a creational pattern which allows to create complex objects in an easy way.…
Abstract Factory pattern in TypeScript
Introduction The abstract factory pattern is a creational pattern which provides you with an interface for creating families…
Liskov Substitution Principle in TypeScript
When extending a class, remember that you should be able to pass objects of the subclass in place…