▲ | hbrn 3 hours ago | |||||||
What's even worse, when typing is treated as an indisputable virtue (and not a tradeoff), pretty much every team starts sacrificing readability for the sake of typing. And lo and behold, they end up with _more_ design bugs. And the sad part is that they will never even recognize that too much typing is to blame. | ||||||||
▲ | tacticus an hour ago | parent | next [-] | |||||||
> pretty much every team starts sacrificing readability People are sacrificing this when they start using python in the first place | ||||||||
▲ | IshKebab 3 hours ago | parent | prev [-] | |||||||
Nonsense. You might consider it a tradeoff, but it's a very heavily skewed one. Minor downsides on one side, huge upsides on the other. Also I would say type hints sacrifice aesthetics, not readability. Most code with type hints is easier to read, in the same way that graphs with labelled axes and units are easier to read. They might have more "stuff" there which people might think is ugly, but they convey critical information which allows you to understand the code. | ||||||||
|