in reply to Re: Law of Demeter and Class::DBI
in thread Law of Demeter and Class::DBI
You get them because the developer put them in. Good OO code does not NEED getters and setters, but is merely code impersonating OO code. Not that non-OO code is wrong, but massive getter/setter combos are definitely wrong.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Law of Demeter and Class::DBI
by fergal (Chaplain) on Nov 17, 2004 at 11:37 UTC | |
by jplindstrom (Monsignor) on Nov 19, 2004 at 22:09 UTC | |
by fergal (Chaplain) on Nov 20, 2004 at 00:51 UTC | |
by jplindstrom (Monsignor) on Nov 20, 2004 at 12:34 UTC | |
by diotalevi (Canon) on Nov 19, 2004 at 22:22 UTC | |
by fergal (Chaplain) on Nov 20, 2004 at 00:52 UTC |