Re: Eu improvements (part 4)
James W Hofmann wrote:
>
> Chris Bensler wrote:
> >
> > Actually, while data structures would be useful too, I don't think that is
> > what
> > we are actually in need of. What we need is a way to address the global
> > pollution
> > created by all the index constants used for the pseudo-structures we already
> > use routinely. We just need a way to name the elements.
> >
>
> This would bring us back to the first thing I proposed, adding a
> keyword "index" used within type to declare named indexes,
> and some extra syntax to access a named index.
> A simple aliasing scheme, without performance impact after compilation.
> <a
> href="http://www.listfilter.com/EUforum/m11619.html">http://www.listfilter.com/EUforum/m11619.html</a>
That's why I like the idea. Plus regarding other threads on the subject, I don't
like the idea of making another datatype that is not a sequence and I understand
Rob's objections.
However the way that classes are implemented in ooeu fits the bill for what we
are suggesting, for the most part.
--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.
|
Not Categorized, Please Help
|
|