by mydriasis · 3y ago · 0 comments
TDD is very easy with Python because the unit testing framework is built in -- I'd suggest writing tests for just about everything you do.
Additionally, the typing system is expanding all the time. Make sure you're adding type annotations where / when you can; even lightweight ones like TypedDict help.
Coming from .NET 6 development, I'll do what I need to do when it comes to fleshing out unit tests, but the brevity of Python unit tests was real pleasant to work with.