News for hackers. Stuff that matters.
Re:Why I'm still using Python by mharig on Saturday December 31, 2022 @05:34AM (#34195227)
I find they clutter the code more than they help. Good names and docstrings and comments are more valuable.

And static types are for people who are too lazy to write test code.

Re:Why I'm still using Python by lucasyvas on Monday January 02, 2023 @10:31AM (#34218939)
Sorry but this is a garbage take. Typing negates the need for writing useless tests that just verify the correct value types are passed - it does not negate the need for writing functional tests.

Where did you come up with this?

Re:Why I'm still using Python by mharig on Friday January 06, 2023 @08:23AM (#34274296)
You seem to not understand duck typing.

Functional tests will test the correct types, too.

Edit: If you need an object that swims and quacks, you don't need to care if it is a rubber duck or an animal.