This can induce hard to debug errors.
For example, something should raise an error or an execption now may return
0 only.
This return value might accidentally be used by other parts of the program.
When the project become larger, it's hard to trace this bug.

On Tue, Jan 31, 2012 at 11:27 PM, Artem Tarasov
<[email protected]>wrote:

> > As a starter, Java rejected that syntax.
>
> Yeah, but in Java at least a NullPointerException is thrown when null
> dereferencing occurs. In Vala the only option to provide null-safety
> is explicit checking for null after each method call in a chain.
> _______________________________________________
> vala-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to