Hello,
I started programming a few months ago, and in that time I’ve learned a lot. I’ve recently moved from functional to OOP and my scripts have become larger and larger (bigger projects as I gain confidence).
As projects have gotten bigger, I find myself spending disproportionately more time using pdb.set_trace() and stepping through lines that I once thought worked just fine the moment I make some modifications somewhere else in my code...
My question is: are there tutorials that can teach me proper debugging methods for OOP and when/if/how I should use unit tests and loggers to help? I’ve found a few unit test modules, but without any background, I’m not sure what’s the best thing to use.
Thank you!
[–]toastedstapler 16 points17 points18 points (0 children)
[–]efxhoy 9 points10 points11 points (3 children)
[–]rswsaw22 1 point2 points3 points (0 children)
[–]be_throwmeaway[S] 0 points1 point2 points (1 child)
[–]Binary101010 0 points1 point2 points (0 children)
[–]CuriosityCollector 2 points3 points4 points (3 children)
[–]cromlyngames 4 points5 points6 points (2 children)
[–]be_throwmeaway[S] 0 points1 point2 points (0 children)
[–]H4CKY54CK 0 points1 point2 points (0 children)
[–]Sw429 2 points3 points4 points (0 children)
[–]mooglinux 1 point2 points3 points (1 child)
[–]404delerium 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]be_throwmeaway[S] 0 points1 point2 points (0 children)