Maximiliano Contieri - Software Design

Maximiliano Contieri - Software Design

Follow
homeDesignCode SmellsBloggingProductivityAboutSupport Me
Tag

Null

#null

More content

Read more stories on Hashnode


Articles with this tag

Code Smell 212 - Elvis Operator

May 13, 20232 min read 215 views

Your code is not safer using this operator TL;DR: Don't propagate nulls. Problems NULL propagation Harder to read code Hacky...

Code Smell 212 - Elvis Operator

Code Smell 208 - Null Island

Apr 19, 20233 min read 181 views

You can avoid null if you try · TL;DR: Don't use null for real places Problems Coupling Unexpected Results Solutions Model the unknown location...

Code Smell 208 - Null Island

Code Smell 192 - Optional Attributes

Jan 17, 20232 min read 216 views

You need to model something optional. Have you tried collections? · TL;DR: Collections are fantastic. And Polymorphic. Problems Null If Pollution...

Code Smell 192 - Optional Attributes

Code Smell 149 - Optional Chaining

Jul 16, 20222 min read 288 views

Our code is more robust and legible. But we hide NULL under the rug TL;DR: Avoid Nulls and undefined. If you avoid them you will never need...

Code Smell 149 - Optional Chaining

Null: The Billion dollar mistake

Sep 3, 20206 min read 1.6K views

He is not our friend. It does not simplify life or make us more efficient. Just more lazy. It is time to stop using null. Tearing down another...

Null: The Billion dollar mistake