Re: pass by reference

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: <bensler at mail.com>

> Why on EARTH do I want to type check my variables only to make my
> program crash 'elegantly', albeit better than the current alternative(no
> type checks).

With type checking your code fails sooner (when it would fail any way only
at some other place) and you are closer to the source
of your problem. You find out what's wrong in less time. Faster debugging.
Same with assert in C.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu