It makes some thing very comfortable ( instead of making two function you can make one property ).
Example ( c# )
private float time;
public float Time
{
get
{
print("Time was checked");
return time;
}
set
{
print("Time is now: "+value);
time = value;
}
}