“Unit testing will be built directly into languages as an intrinsic part, like compiler optimization or GC.”
Normalized claim: Unit testing will be built directly into programming languages as an intrinsic feature by 2020.
What actually happened
Languages designed and popularized in the 2010s heading into 2020 (such as Go, Rust, Elixir, and Zig) integrated unit testing directly into their first-party language toolchains and standard libraries.
Cargo/Rust (`cargo test`, `#[test]`) and Go (`go test`, `testing` package) made testing a built-in language/toolchain primitive.
Verified public sources
- cargo-test - The Cargo Book (rust-lang.org) ↗ — Rust natively incorporates unit testing via the rustc compiler's `--test` option and the `#[test]` attribute, executed natively through `cargo test`.
First-class tooling and built-in testing frameworks substantially shaped modern language ergonomics.
Predicting test harnesses would become as foundational as garbage collection or optimization challenged traditional external library approaches.
Gives a distinct conceptual model comparing built-in unit testing to intrinsic runtime features by 2020.
Part of recurring topic cluster: Adoption and Popularity of Functional Programming →
Original Hacker News context
- Bigger screens and possibly augmented or virtual reality will allow programmers to view larger portions of code by 2020. (Came true)
- Voice interaction for programming devices will lag behind voice recognition capabilities by 2020 due to a lack of standardized connections between devices. (Came true)
- More software documentation will be automatically generated by expert systems by 2020. (Did not come true)
- Power efficiency will be a bigger focus in software development, especially in enterprise software, by 2020. (Did not come true)
- Mobile battery life will remain a limitation in 2020, though e-ink displays and more efficient chips will help improve it. (Partially true)