Mohamed Khaled Abdelmeguiddevdemystified.hashnode.dev·4 hours agoSOLID Principles: Liskov Substitution Principle (LSP)Introduction LSP focuses on the concept of inheritance, a fundamental building block in object-oriented programming (OOP). It ensures that a subclass (a more specific type) can be seamlessly substituted for its parent class (a more general type) with...DiscussDemystifying SOLID PrinciplesSOLID principles
Sudesh Dasthesudeshdas.hashnode.dev·16 hours agoBarrel Files - What? Why? How? 🤔TLDR; Barrel files are a single point of contact when the entire app needs any file. Create different barrel files for different categories (pages, components, utils, styles). They improve the developer experience by a stretch and make code cleaner. ...Discussclean code
Aravind Venkatesanaravindvenkatesan.hashnode.dev·Mar 17, 20247 Mindful Tips For Writing Clean CodeWriting clean and maintainable code is essential for every single developer, whether they're just starting or have many years of experience. Psstt… It’s hard to train AI bots to do mindful coding but not for humans like you and me !!! 🤖🤖🤖 Clean ...DiscussBeginner Developers
Maxi Contierimaximilianocontieri.com·Mar 15, 2024Code Smell 243 - Concatenated PropertiesYou join independent information TL;DR: Don't mix ortoghonal behavior Problems Maintainability Error Prone Performance Penalties Premature optimization The principle of least astonishment principle violation Bijection Violation Duplication o...Discuss·1 like·26 readsCode SmellsGeneral Programming
Teddy MorinforScalable Backendblog.scalablebackend.com·Mar 14, 2024Understand the Theory behind Clean ArchitectureFrom a global perspective, Clean Architecture is a software design approach focused on structuring systems in a way that promotes clarity, maintainability, and flexibility. It emphasizes separation of concerns and independence of implementation detai...Discuss·34 readsClean Architecture
Howard Phunghowardphung.hashnode.dev·Mar 14, 2024Remove If-else hell from your JavaScript codeHey! What's going on everybody 😁 Welcome back to Web Dev Distilled 🤩. In the previous article, we've already talked about why you should not overuse switch statement and some alternative approaches you can take to get rid of this statement from you...Discuss·1 likeJavaScript Distilled JavaScript
Edilson Nguleleguleradev.hashnode.dev·Mar 7, 2024Exploring MVI: A Comprehensive Guide to Model-View-Intent Architecture - Part 1Imagine you were an Android Developer back in 2018, then you took a long snooze and woke up in 2024. Now, you're hearing terms like Jetpack Compose, MVI, Compose Multiplatform, KMM, KMP, and more. It's understandable if you're feeling a bit lost and ...Discuss·1 like·94 readsMVI
Valentin Kvalentink.hashnode.dev·Mar 4, 2024Python OOP Best Practices: Writing Clean and Readable CodePython OOP Best Practices: Writing Clean and Readable Code Introduction to Python OOP Python, being a versatile and powerful programming language, offers a wide array of features that enable developers to write clean, modular, and maintainable code. ...DiscussIt's all about PythonOOP best practices
Johannes Weihweih.dev·Mar 1, 2024Angular: Fancy Api Integration 🥳Today I am going to show you a way to organize services that are responsible for your web requests. I am sure, you will be absolutely astonished by the elegancy of this design. 🎉 What you will get 🤓 An easy way to add mocking to your application ...Discuss·14 likes·41 readsAngular
Vishal Kanublog.vkanu.com.np·Feb 29, 2024Leveraging clsx: Enhancing Readability, PR Reviews, and Clean CodeIn the world of modern web development, maintaining clean, readable, and efficient code is paramount. As projects grow in complexity, so do the challenges in ensuring code quality and readability. This is where tools like clsx step in, offering devel...Discuss·1 like·66 readsJavaScript