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