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] Performance of 'Naive' Ratio Addition

;;;; -*- mode: lisp -*- ;;; Explore the performance of 'naive' ratio addition. ;;; Evaluate (time-addition 17000) ;;; to compare tha...