Bubu TripathyClean Code: Avoid Leaking ReferencesTo prevent memory leaks and ensure efficient resource management, be mindful of avoiding the unintentional retention of references. Leaked…Mar 51Mar 51
Bubu TripathyClean Code: Avoid Returning NullTo enhance code robustness and reduce the risk of null pointer exceptions, strive to avoid returning null values from methods or functions…Feb 265Feb 265
Bubu TripathyClean Code: Optional ParametersWhen dealing with optional parameters in methods, consider avoiding a long list of parameters or the use of null values. Instead, opt for…Feb 261Feb 261
Bubu TripathyClean Code: Favor Immutable Over Mutable StateWhen designing classes and data structures, prioritize immutability whenever possible. Immutable objects, once created, cannot be modified…Feb 26Feb 26