PHP 8: the null safe operator
Explains PHP 8's null safe operator (?->), its syntax, differences from the null coalescing operator, and practical use cases.
Brent — Curator of Stitcher’s Community Feed, a community-driven, hand-curated content aggregator highlighting thoughtful, high-quality writing from across the web. The feed focuses on software engineering, open source, web development, infrastructure, and the human side of building technology. Readers can browse recent picks, follow via RSS, or contribute their own suggestions.
247 articles from this blog
Explains PHP 8's null safe operator (?->), its syntax, differences from the null coalescing operator, and practical use cases.
A guide to setting up and configuring the JIT compiler in PHP 8, including enabling opcache and understanding the complex configuration options.
The author announces 'Front Line PHP', a new book teaching modern PHP, best practices, and the professional web developer mindset, launching alongside PHP 8.
Tips for creating high-quality pull requests in open source projects, focusing on communication, style guides, and documentation.
A programmer argues that light color schemes are superior to dark ones for coding, citing the Pulfrich effect and eye physiology.
A guide to using Scopes in JetBrains IDEs to organize files with custom colors and filters, improving project navigation and developer experience.
A proposal to add generic syntax to PHP for static analysis tools, bypassing runtime performance issues by transpiling.
Explains PHP 8 attributes, their syntax, and how to create custom attributes for adding structured metadata to code.
A developer explains why they left a job due to stagnation, outdated tech, and lack of growth, critiquing high turnover as a company failure.
A developer shares key talks that guided their journey into event sourcing and event-driven development, covering foundational concepts and practical applications.
Explains PHP 8's named arguments feature, showing how they improve code clarity and flexibility by allowing parameters to be passed by name.
A developer shares practical examples of how PHP 8's new features, like attributes and static return types, will improve their event-sourced code.
Explains PHP shorthand comparison operators: ternary, null coalescing, and spaceship operators, with examples and usage tips.
A developer argues for adopting named arguments in PHP 8, addressing concerns from open-source maintainers about breaking changes.
A comparison of PHP 8's new match expression versus the traditional switch statement, highlighting syntax, strictness, and benefits.
A benchmark analysis of PHP 8's JIT compiler performance in real-world web application scenarios, comparing tracing and function modes.
Explores the history of Braille as an analogy for iterative software development, highlighting how user-centric design leads to superior solutions.
A guide to using abstract resource classes in Laravel Nova to share and reuse functionality like default sorting, relationship search, and shared components across multiple resources.
Explains PHP 8's constructor property promotion feature, a syntax shortcut for defining and initializing class properties in the constructor.
Survey results analyzing PHP developers' preferences for strict type systems versus dynamic typing, and how team/project size influences these views.