There are some design principles that all OO (Object Oriented) designers should follow. Failing to follow these principles, leads to code smells in your application. So for identifying smells in your code, You first need to understand Design Principles which will help you to catch smells easily. Let's go through those principles defined by some … Continue reading Design Principles (S.O.L.I.D.)
Author: mamatagelanee74
Code smell & Refactoring
When you see a code and your nose twitches and you think something wrong in that code like when you see a method that has more than 20 lines of code, that's code smell!
Introduction to Data Structure
Have you ever been to any Library? Obviously you have. In library you can see that all books are arranged in such a different categories that if you want to find any, then you can get it easier. What if this books are not arranged properly? How will you find a book? Same … Continue reading Introduction to Data Structure
SparseArray vs. HashMap
Why IntelliJ gives you lint warning to use SparseArray then HashMap of Integer?