>The client has a requirement that we must be able to sort haha instances
based on their surnames.

>Now update that definition so that `a.name` is a concatenation of
`a.firstName` and `a.lastName`, I want >to be able to continue using it as `
a.name` though.

ok, you got that one.  but whats the difference between

public class haha{
 public String firstname;
 public String lastname;
 public String name;

public String getName(){
name = firstname + lastname;
return name
}

and

public class haha{
 public property firstname;
 public property lastname;
 public property name = firstname + lastname;
}

maybe im just naive but i don't see any real difference between the two.
sure number of lines decreases but beyond that, whats the difference?

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to