Getters are evil in OOP, but what is the alternative? Printers is the way to go. The discussion is based on this article: http://www.yegor256.com/2016/04/05/printers-instead-of-getters.html Video is here: https://www.youtube.com/watch?v=_Q0cNykXB04
Getters are evil in OOP, but what is the alternative? Printers is the way to go. The discussion is based on this article: http://www.yegor256.com/2016/04/05/printers-instead-of-getters.html Video is here: https://www.youtube.com/watch?v=_Q0cNykXB04