Smalltalk, Haskell and Lisp
todsacerdoti
created: June 6, 2025, 8:55 p.m. | updated: June 7, 2025, 4:22 p.m.
| onSourceTime slewTime | slewTime := anAntenna moveTo: self position; lastActionDuration.
^ ScanResult withScan: self slewTime: slewTime onSourceTime: onSourceTimeAnd the Lisp:(defun run-scan (antenna scan) "Perform a scan on this antenna.
The Haskell version really feels more like a composable set of actions for driving the antenna, whereas the Smalltalk version never really stopped feeling like an arithmetic fabrication, and the abstraction leaked a lot in the Lisp versionThe Lisp code is just atrocious.
Neither Lisp nor Smalltalk really lend themselves to my style.
Why do languages like Lisp and Smalltalk depend so much on manual intervention with mistakes, why can’t they have a strong, inferring type system like Haskell?
1 day, 3 hours ago: Hacker News: Front Page