[EMAIL PROTECTED] wrote:

> > However, other dynamically typed languages like Python, php and to a
> > lesser extent Perl do not have anywhere near as sane a system. I
> > suspect that the Smalltalk equivalent of the following Python code
> > might actually do the right thing:
> >
> >    a = [ 1, "help" ]
> >    b = a + 10
> >
> > but Python squeals like a stuck pig (read runtime error).
> >
> 
> So it should ... just because a language is made for the ease to use does not
> mean it should just accept any random input and not to complain.

Yes, I agree that it should complain, but I think it should
complain at compile time in front of the developer, not at
run time in front of the end user.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"There are only two things wrong with C++: The initial concept and
the implementation." -- Bertrand Meyer
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to