Closed jcieslar closed 9 years ago
I prefer 2.
Vote for 3.
:+1: for 1.
1/2
Number 3 is the only truth! Rest are mere false gods!
My argumentation is that 3 help you work with larger classes - you clearly see where public interface ends.
I'm always using no. 1
.
Why? Because private
and public
are just class methods. And leaving them alone, with empty line before and after, expose it enough.
My argumentation is that 3 help you work with larger classes
I would rather say that large class is a smell and it should be splitted into smaller ones :tongue:
Agree with @jandudulski, but I don't like 2.
I would accept 3.
Should be same across whole project.
1
/ 2
I would rather say that large class is a smell and it should be splitted into smaller ones :tongue:
Yeah, but they happen and then you have to deal with them. Also smaller classes means ~100 lines of code which is enough for 3 to help you interact with it.
Zapraszam do głosowania.
Każdy może oddać dowolną ilość głosów! Głosujemy na zasadzie "I'm OK with Option X" dla każdej z opcji. Czyli nie na ulubioną, a na wszystkie te, które są dla mnie okej.
Ankieta: http://doodle.com/farkkdi7fy2qsynb.
@monterail/dev Deadline na oddanie głosu - 22.07.2015 23:59
2.
3.