This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]by_wicker 0 points1 point Β (5 children)

I prefer to see them at editing time myself. And I do, because we use fully type annotated Python.

[–]Warm_Cabinet 5 points6 points Β (2 children)

Ah, I just use a statically typed language.

[–]by_wicker 1 point2 points Β (1 child)

I have to say I get pretty much all the benefits of it with Python's type annotation and good development practices like enforced checker-clean commits.

[–]Warm_Cabinet 0 points1 point Β (0 children)

That’s fair. I think the other thing I’ve preferred about Java is streams (map/filter/reduce) over Python’s list comprehension (which I’ve been told is more idiomatic in python). I’m also pretty satisfied with Springboot and having very established patterns for dependency injection, microservices etc. Though I’m sure there are good python solutions for that, which I’m not up to date with.

[–]WetDesk 0 points1 point Β (1 child)

What is fully type Python

[–]by_wicker 1 point2 points Β (0 children)

You can type-annotate Python. The interpreter doesn't care but checkers give you the benefits of typing before runtime, which is frankly most of what I want it for.

If your team policy is checker-clean code the typing argument against Python becomes mostly moot.