Re:Type hints – a mediocre programmer's reaction (2015)
by seivan on Thursday March 17, 2016 @04:44PM
(#11307442)
I've come to realize it's an addiction/urge, that's the only /reasonable/ answer I can give.
[ Parent
| on HN ]
Re:Type hints – a mediocre programmer's reaction (2015)
by seanp2k2 on Thursday March 17, 2016 @08:07PM
(#11308751)
https://en.m.wikipedia.org/wiki/Robustness_principle
""" Be conservative in what you do, be liberal in what you accept from others (often reworded as "Be conservative in what you send, be liberal in what you accept"). """
Re:Type hints – a mediocre programmer's reaction (2015)
by taneq on Thursday March 17, 2016 @08:36PM
(#11308942)
Didn't we decide later that that's a bad idea? I mean, in the early days of the web, Internet Explorer was the very embodiment of this principle and a couple of decades later the internet is still full of the resulting non-standard crud.
Re:Type hints – a mediocre programmer's reaction (2015)
by lomnakkus on Friday March 18, 2016 @01:09AM
(#11310036)
Yes we did. It can also lead to really surprising security issues in protocol-land where such "liberalism" interacts badly with security-sensitive portions of protocols.
(Security is non-trivial and mostly there are very good reasons that things are exactly as they are in such protocols.)