lundi 27 juillet 2020

Object calisthenics. Limiting of instance variables

I was wondering why instance variables should be limited to two in object callisthenics? Why not three, or four? I understand it is to lower coupling, I was just wondering if there is rationale behind the number two?

Aucun commentaire:

Enregistrer un commentaire