A syntax option (function types versus arrays)

John Nilsson john at milsson.nu
Thu Mar 11 15:14:46 PST 2010


On Thu, Mar 11, 2010 at 11:58 PM, Howard Lovatt <howard.lovatt at gmail.com>wrote:

> There is an advantage in spelling out that you have an expensive
> operation in that people are more likely to be aware of a potential
> problem and hence avoid it in the first place
>

But it is only expensive if you assume a broken compiler or VM. There is
nothing inherent in the language to suggest that it should be expensive.

BR,
John


More information about the lambda-dev mailing list