2025-05-08

[EN] Struckly Typed; or, We Don't Need No Stinkin' Static Checks

A simple example.
Trivial, actually.
A multi-module Python program without type annotations.
Several classes used pervasively, each with an attribute foo_bar.
Rename the latter to baz_quux in exactly one of those classes.
So sift through many occurrences of foo_bar, figuring out which few of them become baz_quux.
No help from the compiler.

Not stringly-typed, but struckly-typed, to coin a portmanteau of "strong" and "duck"...

No comments:

Post a Comment

[EN] A Curio about the Digits of Pi

;;;; pi-digits.cl -*- mode: lisp; -*- ;;; Illustrate a curio about the first 40 (decimal) digits of π. ;;; Time-stamp: <2025-07-22 16:52...