Practical Sourcery examples
Explores advanced use cases for Sourcery, a Swift metaprogramming tool, with practical examples like finding classes to make final and custom linting.
Explores advanced use cases for Sourcery, a Swift metaprogramming tool, with practical examples like finding classes to make final and custom linting.
A PHP developer argues for stricter type systems and static analysis to reduce uncertainty and doubt in code, increasing productivity.
Attribute usage in top-1000 PHP packages Written on 2022-05-20 Attributes were originally introduced in PHP 8.0 two years ago. Yesterday, I came acros
Final part of a series on migrating C# codebases to nullable reference types, covering practical techniques and tools for incremental adoption.
Part 3 of a series on migrating C# code to nullable reference types, focusing on advanced annotations and attributes for better compiler flow analysis.
Explores how C# nullable reference types work under the hood, comparing their IL compilation to nullable value types.
A guide to migrating existing C# codebases to use nullable reference types, covering concepts, techniques, and tools to reduce NullReferenceExceptions.
An argument for implementing generics in PHP via static analysis, discussing the technical challenges and required mindset shift for developers.
An in-depth look at generics in PHP, covering their use beyond collections and how static analyzers implement them via docblocks.
A look at PHP's modern features, active development, and thriving community in 2021, debunking the myth that the language is dead.
An overview of modern PHP features in 2022, including PHP 8.1's enums, readonly properties, and the growing static analysis ecosystem.
A video and transcript explaining how to implement and use generics in PHP via docblocks, with support from PHPStan, Psalm, and PhpStorm.
Argues that static analysis can replace runtime type checks in PHP, enabling features like generics without performance cost.
A proposal for using typed request classes in Laravel to combine validation and data representation, eliminating the need for separate DTOs.
Explains the Testing Trophy, a model for JavaScript testing ROI, covering E2E, Integration, Unit, and Static tests.
A tutorial on setting up Semgrep for static code analysis using Docker, with practical examples for writing custom linting rules.
Explores using Semgrep, a static analysis tool, to find security vulnerabilities in Infrastructure as Code like Terraform and Kubernetes configurations.
A guide on using NDepend's static analysis and dependency graphs to quickly understand and identify issues in a new .NET codebase.
Learn how to configure VS Code to highlight unused Python variables and imports using the PyLance language server for cleaner code.
Integrating the Bandit security tool for automated code checks and improving the user sign-up flow in a Django SaaS project.