On Sat, Jan 4, 2014 at 9:23 PM, Ben Kloosterman <[email protected]> wrote:
> Also foreach typicaly throws exceptions ( collection modified while being > enumerated is very useful) , which are typically heap allocated ( they > possibly could be region but it gets messy fast ) . > Exceptions don't need to be heap allocated and should not be. That's an implementation or a design bug, depending on your point of view. To the extent possible, it is always better to capture mistakes at static compile time than at run time. A lot of the exceptions that C# FOREACH throws are things that can and should be type checked out. But I suspect we probably all agree about that. :-) shap
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
