TypeScript: Improving Object.keys
Explains a TypeScript issue with Object.keys and proposes solutions for better type safety when iterating over object properties.
Explains a TypeScript issue with Object.keys and proposes solutions for better type safety when iterating over object properties.
A guide to implementing enum-like behavior in PHP before PHP 8.1, using polymorphism for type safety and value-specific logic.
A tutorial on using SwiftGen to generate type-safe classes for accessing localized strings and assets in iOS/macOS projects.
An exploration of the Liskov Substitution Principle (LSP) and its critical role in ensuring type safety in object-oriented programming and inheritance.
Learn tricks for using Redux and Immutable.js with TypeScript, including statically typed records for better type safety and developer experience.
A guide to Swift result builders, explaining how to create type-safe Domain-Specific Languages (DSLs) for tasks like HTML generation.
Explains the detailed, step-by-step process the .NET Runtime (CLR) uses to safely load and validate types, ensuring type safety.
Explores the need for generics in PHP to solve type safety and performance issues with arrays, using blog post collections as an example.
Explains how to use TypeScript's strictNullChecks compiler option in Angular 4.1.1 to write safer, more robust code by preventing null/undefined assignment errors.
Explores the deep integration of arrays within the .NET CLR, covering their specification, IL instructions, and role in memory and type safety.
An article exploring TypeScript as a pragmatic tool for JavaScript development, comparing it to 'training wheels' for building reliable, large-scale applications.
A guide explaining what 'undefined' is in JavaScript, detailing common scenarios that create it, and offering practical tips to handle it effectively.
Explores how to use Swift's addition operator overloading for expressive code, covering numbers, strings, arrays, and ranges.
Explores the System.Runtime.CompilerServices.Unsafe API in .NET for low-level, high-performance pointer manipulation while bypassing standard type safety.
A Swift developer explains how wrapping primitive types like Int in structs improves type safety and eliminates runtime bugs in a toy train control app.
Explains how Swift handles integer overflow using specific methods like addWithOverflow, preventing crashes.
A guide for developers transitioning from Objective-C to Swift, focusing on safety concepts like optionals and value semantics.
A guide to creating type-safe Core Data objects in Swift, covering convenience initializers and factory methods to avoid string-based APIs.
Explains the principles of subtyping in Java generics, including why generic types like List<Number> are not supertypes of List<Integer>.
A programmer clarifies confusing terminology in programming languages, defining dynamic typing, type safety, and strong typing.