public marks

PUBLIC MARKS with tags oo & python

May 2006

February 2006

MF Bliki: GetterEradicator

by bader & 1 other
The general justification is that getters violate encapsulation. If I've got a bowler class with fields for overs, runs and wickets, then adding getters (getOvers, getRuns, getWickets) is little better than just making the fields public.

Active users

salvatore
last mark : 25/05/2006 09:46

bader
last mark : 22/02/2006 19:43