Jonathan Locke wrote:
Gili wrote:
The problem with IModel and Model, for example, is that you're implicitly saying that Model is the default implementation of IModel; which is why I prefer DefaultModel, because it makes that clear. And I think it is also
it is /not/ a default implementation. the dictionary says this about "default" in the context of computer science:
1. _/Computer Science./_ A particular setting or value for a variable that is assigned automatically by an operating system and remains in effect unless canceled or overridden by the operator: changed the default for the font in the word processing program.
if DefaultModel was a default, it would be automatically assigned. but it is not. you /instantiate/ it yourself. therefore it is NOT a default model.
But Model also isn't /just/ a Model. It serves a purpose. It is a simple model in that it doesn't do 'advanced' stuff, it is the commonly used model. This is what Gili and I understand to be 'default'. For me that might be a thing of my limited understanding of the english language. I do think that 'DefaultModel' is somewhat ambiguous as to the meaning. Model is not the default implementation of a model, but reasonably the most used. I kinda like SimpleModel as it communicates more the intent of the Model class: to be a simple, generic (I)Model implementation. GenericModel might also be a contender.
Martijn
------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
