On Friday, 30 January 2015 at 08:54:55 UTC, bearophile wrote:
Daniel Kozák:

No, it makes more bugs possible

// this is compile error so its ok
int[MUST_HAVE_FIVE_ITEMS] a=[1,2,3,5];
// Error: mismatched array lengths, 5 and 4

Have you tried to compile my code? It doesn't give an error.

Bye,
bearophile

Ohh I misread it. Ok it really does not trigger any error.

But still would not be better just fix this issue

Reply via email to