Re: Using interfaces "everywhere" due to (EMF) modelling framework



On Tue, 2006-02-28 at 11:47 -0800, James wrote:
What do people think of having a class that implements an interface
called prefixed
with Concrete ?

eg:

Client
ConcreteClient

I'd hate it very much if a project had a thousand classes all called
"ConcreteFoo"

One of the benefits of a strongly-typed language is that you don't need
to rely on naming conventions to tell you about types! I get sick of
the redundant naming prefixes that some people use. It does not solve a
problem and creates complexity where there was none.

I can determine from "Client" that it's an interface -- the langauge
keeps track of that! Likewise, ConcreteClient *knows* it's a regular
class that implements Client. Why feel compelled to repeat this
information? What problem does it solve, and does it solve one problem
by creating another?



.



Relevant Pages

  • Re: A Challenge
    ... > out all the prefixes, so intermediary table 1 will be 3 fields ... >> My client is expecting me to perform miracles. ... >> Matt Del Sandro ... >> I have been using space delimited to separate the fields and then doing ...
    (microsoft.public.excel.programming)
  • Re: A Challenge
    ... I would run routines which "pre-process" the data run separate stages. ... the prefixes, so intermediary table 1 will be 3 fields ... prefixes, leave ."harvest" what I know, like all the Mr. ... > My client is expecting me to perform miracles. ...
    (microsoft.public.excel.programming)