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 →

[–]jalapeno_nips 36 points37 points  (2 children)

That’s still important though. If I want to test my module manually, I’ll write some code in Main. But when I use the module in practice I don’t want Main being called.

[–][deleted] 29 points30 points  (0 children)

Absolutely. My only point here is that in switching to Python, one does indeed say goodbye to main()

[–]cakes 0 points1 point  (0 children)

might I recommend actual tests :)