After using Java for a while now, sometimes I take for granted that everyone knows or understands Java. But alas the world just does not roll that way. For example if I had to put this piece of code of a say a system administrator that is proficient in php or perl or the likes. Would they understand it?
public class Person {
private int id;
private String firstName;
public Person(int id, String firstName){
this.id = id;
this.firstName = firstName;
}
public String getFirstName(){
return firstName;
}
... more to follow.
}
so I looked at this for a while and decided that perhaps when we talk about code to people that have no idea about Java or OO(Object Orientation) for that matter, we need to perhaps think about a better approach, such as rather educating while explaining why things happen. It is of course not possible to explain everything to everyone, so small steps, like what does that key word private mean or what exactly is this class. Or maybe not??? Do they really need to understand that level when dealing with an issue that is technical of nature and not going to be fixing it per say?
Would not an understanding of the overall flow be better for that target audience? Again not sure, but it always seems that we do need to impart some level of technical knowledge onto those that are involved in the applications we write, even if it means they ask you more questions....
No comments:
Post a Comment