[Libre-soc-misc] dynamic vs. static type systems
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Thu Jan 28 21:39:11 GMT 2021
On Thursday, January 28, 2021, Jacob Lifshay <programmerjake at gmail.com>
> Definitely worth reading!
> This is one of the main reasons why I prefer Rust or even C++ over Python.
"this is a X but also a Y under circumstances Z”
if people are doing that in python they are doing something badly and
disastrously wrong and are asking for trouble.
the language is irrelevant. it is the attempt to bury specialisation in a
base class of the kind "do something different if it's an X not a Y",
violating the Liskov Substitution Principle, that is the problem here.
it has absolutely nothing to do with the language, nor with whether the
language has dynamic or static types.
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libre-soc-misc