Tag

Nullability

1 views collected around this technical thread.

Baidu Geek Talk
Baidu Geek Talk
May 23, 2023 · Mobile Development

Swift Optional Types: Common Pitfalls and Best Practices

The article explains common Swift optional pitfalls—such as forced unwrapping, misuse of implicitly‑unwrapped optionals, and unsafe type casting—and shows how proper optional binding, explicit Objective‑C nullability annotations, and cautious casting can prevent runtime crashes and improve code maintainability.

Code PracticesNullabilityObjective-C
0 likes · 13 min read
Swift Optional Types: Common Pitfalls and Best Practices
Java Architecture Diary
Java Architecture Diary
Apr 14, 2019 · Backend Development

How JSR‑305 Annotations Boost Null‑Safety in Spring 5 and Mica Core

This article explains how Spring 5’s spring‑core jar incorporates JSR‑305 annotations, introduces the JSR‑305 standard for static analysis, and demonstrates practical usage—including package‑level rules and @Nullable/@NonNull examples—in Spring Boot microservice projects.

AnnotationsJSR-305Java
0 likes · 6 min read
How JSR‑305 Annotations Boost Null‑Safety in Spring 5 and Mica Core
Hujiang Technology
Hujiang Technology
May 25, 2017 · Mobile Development

Kotlin Basics: Functions, Nullability, In Keyword, Type Checks, and When Expressions

This article introduces core Kotlin language features—including function definitions, nullable types and null‑checking, the use of the in keyword for ranges and collections, type checking with is, and the when expression—providing code examples and explanations for Android developers.

KotlinMobile DevelopmentNullability
0 likes · 6 min read
Kotlin Basics: Functions, Nullability, In Keyword, Type Checks, and When Expressions