list literal gotcha and suggestion

Lawrence Kesteloot lk at
Wed Oct 7 17:46:33 PDT 2009

> Seems like all sorts of configuration/static data/quick and
> dirty/unittest/mock/etc types of syntax would benefit.

That search returns 800 files out of a total of 11,300,000. That's one
file in 14,125, or 0.007%.

I would be against a feature which (1) has such an unclear correct
specification; (2) provides so little advantage over a static
ArrayList.of() and HashSet.of(); and (3) helps only one file in

On the other hand, the idea (proposed twice in this discussion) of
have a pair literal seems much more widely useful, and would allow


More information about the coin-dev mailing list