in reply to Re: Static typing is mostly a waste of time
in thread Static typing is mostly a waste of time
Well, the problem is that it's supposed to catch those loads of errors but doesn't because it forced you to typecast to get anything at all done. If I have to typecast everything to void* (sorry, object) whenever I store it in a generic datastructure and then typecast it "back" whenever I access it I effectively turned off compile time type checking.
And no I don't think Java's (or C#'s) type "system" should look like Perl's. But something closer to ML, Clean or Haskel would definitely make things much better. You'd get the same kind of compiletype checking, but without having to typecast all the time and without the runtime typing errors caused by errorneous typecasting.
Jenda
|
We'd like to help you learn to help yourself Look around you, all you see are sympathetic eyes Stroll around the grounds until you feel at home -- P. Simon in Mrs. Robinson |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Static typing is mostly a waste of time
by Anonymous Monk on Apr 15, 2005 at 17:47 UTC | |
by Jenda (Abbot) on Apr 17, 2005 at 17:13 UTC |