News for hackers. Stuff that matters.
Re:Testing Without Interfaces by shanemhansen on Tuesday February 19, 2013 @09:23PM (#5248599)
I agree with this 100%. It's embodied in the "we're all consenting adults" philosophy of python: http://en.wikipedia.org/wiki/Python_syntax_and_semantics#Obj...

Marking variables as private using naming conventions like foo._dont_mess_with_me is also often helpful. Tools like linters can warn you that you're doing the wrong thing (messing with object internals) but the language doesn't get in your way or force you to use things like reflection to do what you want.

There are no comments on this comment yet.