News for hackers. Stuff that matters.
Re:Python programming is drowning in red tape by jordic on Wednesday April 15, 2020 @01:53AM (#22874970)
And what's the problem on having some type hints on some func signatures?) You can read python exactly the same way (with and without type hints)....
Re:Python programming is drowning in red tape by tonyedgecombe on Wednesday April 15, 2020 @02:02AM (#22875023)
It's just one more thing you have to get to learn.

I have the same problem with classes in JavaScript. You can't ignore them and stick to prototypes nor ignore prototypes and stick to classes. What should have been a simplification has turned out to make things more complex.

Re:Python programming is drowning in red tape by oefrha on Wednesday April 15, 2020 @07:36AM (#22876569)
Unlike ES6 classes, you absolutely can ignore type hints (and they're easy to ignore). In fact they're basically inline comments, and the interpreter ignores them too.
Re:Python programming is drowning in red tape by jordic on Wednesday April 15, 2020 @08:50AM (#22877086)
Anyway es6 classes it's just a proper way of doing Oop in js.. the prototypal thing it's so ugly...