H. S. Teoh:

This may not be practical if your codebase is production, and relies on the compiler being (relatively) stable. Sometimes things break in a major way on git HEAD in between releases and get fixed later, so you might end up spending unnecessary effort to make your code compile every
few git revisions.

I stopped updating my code only at compiler releases because fixing hundreds of things at the same time (of many different kinds) was too much hard for me.


You don't need to refer to
the type of the element in order to get its .init value.

Right.
So, is it possible and a good idea to fix AA.get so the natural code "get(0, [])" works?

Bye,
bearophile

Reply via email to