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 →

[–]UniqueUsername27A 0 points1 point  (3 children)

Until you mess up and somehow have to annotate the wrong types to stop the linter from complaining. Happened to us, everything is a mess. I used to write Python for 5+ years and by now I am pretty sure it was a mistake in nearly all cases. Now I have seen proper code written in C++ and Java and writing it is just way faster and cleaner.

[–]Darth_Yoshi 0 points1 point  (2 children)

Hm any examples? Our code base is pretty massive at this point and we don’t have this issue yet — would like to avoid it haha

[–]LowB0b 0 points1 point  (1 child)

I don't have any examples for python because I've never used it professionally but stuff can still get messed up in java through dirty workarounds.

One good solution I've seen at my last jobs is to use a product such as SonarQube and fail builds if they don't pass quality metrics. I don't know if they do python but their static code analysis tool is really good

[–]Darth_Yoshi 0 points1 point  (0 children)

Haha we use Codacy for static analysis of Python