Write your private methods like they're public
When designing my abstractions, I’ve always had a very binary view about separating private and public behaviors. A recent gotcha got me to reconsider my practice with a little more nuance. Now, I treat my private methods as if they were public methods.
Post a comment