Tagged articles
2 articles
Page 1 of 1
Radish, Keep Going!
Radish, Keep Going!
Oct 6, 2025 · Fundamentals

How Go 1.26’s new(expr) Simplifies Pointer Creation

The Go 1.26 release extends the built‑in new function to accept expressions, allowing direct allocation of pointers with initial values, which reduces boilerplate, improves readability, and introduces a more consistent syntax for developers.

Go 1.26language featurenew(expr)
0 likes · 6 min read
How Go 1.26’s new(expr) Simplifies Pointer Creation
php Courses
php Courses
Nov 15, 2021 · Backend Development

PHP 8.1: New in Initializers

PHP 8.1 adds support for using the new expression as a default value in constructors, property promotions, static variables and global constants, enabling objects to be instantiated directly in initializer syntax while preserving lazy construction semantics.

8.1Backendinitializers
0 likes · 5 min read
PHP 8.1: New in Initializers