3 ms·
>> I'm aware of all that, but of course you DO want to show things to the outside, all the time. Well, there's a solid argument to be made in favor of limiting
by gdubs 14y ago
>> I'm aware of all that, but of course you DO want to show things to the outside, all the time.
Well, there's a solid argument to be made in favor of limiting how much internals are exposed to other objects. I personally like keeping my headers as minimal as possible.
- kemiller 14y agoTo clarify: Ruby has public and private. You can control visibility all you want, you just don't have to use a separate header file.