Re: A Use of Static Typing
- From: "Vzalamataz Portnoy" <nester@xxxxxxxxxx>
- Date: Mon, 30 Jul 2007 15:35:50 -0500
I cannot get beyond the irksome idea that this is the problem with the
potential to demonstrate that zero (0) is TRUE, and -1 is FALSE. It is
seems relaible that the same function will return the same answer. I take
that answer to be a value of a mathematical expression, evaluated as TRUE or
FALSE where you compiler tests some other value, and gives an error. So
just set the true to be zero, like I hav explained so many time... Take
findings to radical poetry month reading, and see how fast your are pushed
off that stage ...
"Stefan Ram" <ram@xxxxxxxxxxxxxxxxxx> wrote in message
Sometimes it is disputed whether static typing has
I sometimes change the interface of some entity, for
is to become
When I change just this entity, the compilation process
often will fail, because a site using »get_difference«
now has a type mismatch: I have to change something at
this site, too. This might create a cascade of even more
type error message, because the new change leads to
other type mismatches at other places. And so on.
Eventually all sites depending directly or indirectly on the
type of the result of »get_difference« have been found
and modified to reflect the change.
Without a static type system, I could not have used the
error messages to guide me to all those sites.
So, is this an argument in favor of static typing?
- Prev by Date: Re: A Use of Static Typing
- Next by Date: Re: A Use of Static Typing
- Previous by thread: Re: A Use of Static Typing