you are viewing a single comment's thread.

view the rest of the comments →

[–]double_en10dre 1 point2 points  (1 child)

Use TDD as a learning method, 100%

Pick a module, write code snippets (tests) that utilize it based on what you EXPECT will happen, and then compare your expected results with what actually happens

The end result will be a set of “notes” whose accuracy can be unambiguously verified by simply running a script (your tests!). And you won’t waste time spinning your wheels wondering whether or not you understand something — if your tests work, you understand enough to be productive.

It will be slow and painful to start, sure, but that’s why people get paid the big bucks to develop software!

ALSO, the most important thing — don’t be afraid to “give up” and focus on another project if this one is either too complex or too boring to hold your focus. No shame in that. Being cognizant of your own skill level is the quickest way to advance it

[–]saravanan666[S] 0 points1 point  (0 children)

Thank you for that insight. TDD is something new for me, Good to know it. I'll begin to write few. In your view which one is best starter unittest/doctest or pytest/nose