[chuck-dev] casting an int to string (CVS)

Kassen signal.automatique at gmail.com
Tue Mar 3 02:40:22 EST 2009


> But if the implicit cast works is valid, it seems to me that an
> explicit cast ought to be valid also.
That would indeed seem rather logical and coherent, yes. :¬)

And while we're at it; going from a string to a integer requires the Std
while the reverse is (apparently now?) not true. In fact no such function is
in the Std. If we're going to make this coherent then I'd like to propose
that we seriously consider casting from string to int as well.

I like it when things work the same in all cases, my poor little brain gets
very confused otherwise.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20090303/00014ee2/attachment.html>

More information about the chuck-dev mailing list