
001 - Ben Orenstein, Co-Founder of Tuple
Code with Jason
00:00
How to Read a Class in Order of Abstraction
The ideal number of public methods in the class is maybe one, maybe more. So as you read the class from top to bottom, you get the most important high level details first. Then you kind of start getting the medium level details and then nestled away at the bottom is all the low level stuff. And this kind of gives you a clue. You can read the class in order, which is nice. If you want to understand it, you start at the high level and you work your way down.
Transcript
Play full episode