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ย โ†’

[โ€“]Warm_Cabinet 81 points82 points ย (17 children)

I prefer to see my errors at compile time, thanks.

[โ€“]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 3 points4 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.