immutability

Tag

Cards List
#immutability

FAQ: Why isn’t mutable a subtype of immutable, or vice versa?

Lobsters Hottest · 6h ago Cached

This article explains why mutable data types cannot be subtypes of immutable types in programming languages, using the Liskov substitution principle and pairs as an example to highlight type safety and immutability contracts.

0 favorites 0 likes
#immutability

Functional Programming in hica

Hacker News Top · 2026-07-02 Cached

An introduction to functional programming in the hica language, covering expressions, immutability, pure functions, closures, and higher-order functions like map, filter, and fold.

0 favorites 0 likes
#immutability

Spectre Programming Language

Hacker News Top · 2026-05-15 Cached

Spectre is a new programming language for safe, contract-based low-level systems programming, enforcing immutability by default and compile-time/runtime contract checking. It compiles via QBE IR and includes a feature to translate C code to Spectre.

0 favorites 0 likes
← Back to home

Submit Feedback