[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: int vs. struct
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.