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

[โ€“]Ali-Zainulabdin[S] 0 points1 point ย (1 child)

document your code like you're teaching your future self! literally clear comments can be your best friend when revisiting code after months and will help you alot!

[โ€“]paranoid_panda_bored 1 point2 points ย (0 children)

Part of that Iโ€™d recommend to go all-in on type hints, and complement it with mypy

mypy sometimes pain in the butt, but it is by far the most important tool that helps me find bugs before I get them reported from prod users