Tag

Null Checking

0 views collected around this technical thread.

macrozheng
macrozheng
Mar 13, 2025 · Backend Development

Mastering Null Checks in Java: 10 Elegant Strategies for Safer Code

This article explores the pitfalls of traditional null‑checking in Java, demonstrates how Optional, Spring utilities, Lombok, Null Object pattern, Guava, assertions, and AOP can replace verbose if‑else chains, and compares their performance and readability to help developers write cleaner, more robust backend code.

Backend DevelopmentBest PracticesJava
0 likes · 10 min read
Mastering Null Checks in Java: 10 Elegant Strategies for Safer Code
IT Services Circle
IT Services Circle
Mar 1, 2022 · Fundamentals

C# 11 Preview Features: Multiline Interpolated Strings, List Patterns, and Parameter Null Checking

The article introduces three C# 11 preview features—allowing line breaks inside interpolated string expressions, a new list pattern syntax for matching arrays and slices, and a concise parameter null‑checking syntax—explaining their usage, showing code examples, and describing how to enable them in a project.

C#11C++Null Checking
0 likes · 7 min read
C# 11 Preview Features: Multiline Interpolated Strings, List Patterns, and Parameter Null Checking