←back to thread

Type checking is a symptom, not a solution

(programmingsimplicity.substack.com)
67 points mpweiher | 1 comments | | HN request time: 0s | source
Show context
Smaug123 ◴[] No.45141940[source]
> When components are designed as genuine black boxes—where what happens inside stays inside, and communication occurs only through explicit input and output ports—systems naturally become easier to reason about.

"How do you specify the shape of the input and output ports?" shouts the goose as it chases me away.

replies(2): >>45143097 #>>45160820 #
1. Rohansi ◴[] No.45143097[source]
Text goes in and text comes out - simple! Works perfectly for shell scripts. /s