Related reading
Quiz: Python's Mutable vs Immutable Types: What's the Difference?
The page offers a 12‑question interactive quiz that checks knowledge of Python’s mutable vs immutable types, covering built‑in type categories, aliasing pitfalls, mutable default arguments, and shallow copy behavior.
Real Pythonrealpython.com1 minImmutability in PHP Beyond readonly
The article walks through practical ways to achieve immutability in PHP beyond the built‑in readonly keyword, covering interior mutability, immutable value objects, collections, dates, and cloning. It also shows how to enforce and test these patterns in real codebases.
Freek Van der Hertenfreek.dev1 minCylic trait implementations: motivation
The post introduces the problem of cyclic trait implementations in Rust, showing how allowing certain cycles could enable “perfect derive” that derives traits based on field types rather than generic bounds. It also explains why naïvely accepting any cycle is unsound, especially with supertraits, and outlines the need for a principled solution.
Mozilla Automation Teamsmallcultfollowing.com9 minHN1Article: Your Next DSL Author Is a Language Model
Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…
InfoQinfoq.com18 min

