[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: int vs. struct
Dan Stromberg wrote:
>
> Greg Miller wrote:
> >
> > Dan Stromberg wrote:
> > > Slightly better speed, yes - but greater flexibility? No way. Software
> > > done with ADT's/OOP is radically more adaptable. Without proper
> > > abstractions, small changes in data representation that should be "local
> > > only" set off huge ripple effects in large programs.
> >
> > You're suggesting making later changes to a standardized API? Not a good
> > idea. One created, interfaces should not change.
>
> Fixing a broken API is a good idea if you can spare the short term cost
> to obtain the long term benefits.
>
> But designing a broken API from scratch is unforgivable. An SE who
> insists on doing that should probably look for another line of work.
I take it you've never worked with versioned interfaces in systems like
COM? Providing new interfaces is *much* better than altering existing
ones in public APIs.
--
http://www.classic-games.com/
If you commit perjury, you go to jail... Is the President of the United
States above the law? Food for thought.
*** NEWBIES: Limit signatures to four lines! No HTML mail or posts! ***