Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Adding artifact priority



florin wrote ...

> I think you need an extra bit to specify if the compound is ordered or
> not. The order of files in a directory is irrelevant. The order of lines
> in a source file is relevant.

No extra bit is needed. Whether compound is ordered or not should be left
to the implementor. In the
current implementation compounds are ordered, to provide repeatable results
to assist in debugging, etc.
That is why you so often see TreeMap in the workspace code where HashMap
would suffice.

Source files are indeed always ordered, though sometimes when I look over
code I wrote, I wonder how that
particular order was ever thought to be the right one ...

dave,






Back to the top