Re: Static/Dynamic typing, lessons from the field



André Thieme wrote:
But what does static typing have to do with Javas non-existing support
for the points he mentioned (operator overloading, mult. inh., etc.)?
The Java designers did intentionally *not* putting them into the
language. From Suns point of view that might be a good thing cause Java
is now pretty much the most popular programming language.
The author got that point plain wrong.

True. ML already existed in 1984, so there's no real excuse for designing a statically typed language in '90+ without generics. They simply didn't *want* it. Operator overloading is only syntax, so it's arguable if it's needed (but with Java's crappy syntax I'd say yes). The throwing-in-one-bowl of interfaces and inheritance (with classes) is unfortunate and could have been avoided with OCaml-style "inherit" clauses.


Later he says: "Dynamic languages give you more expressive power and
more design options;" but does not explain this point. It sounds like
an opinion and therefor is not much more worth than the opinion "Static
languages give you more expressive power and more design options;".
And I personally would like to know what a static language or a dynamic
language is. Probably he wanted to say "statically typed language".
Making this kind of mistake tells me that he is probably not an expert
on this issue, and so I should not take his conclusions too serious.

Yes, I wouldn't say that Lisp advantage is in having no static typing. It's in making it convenient to do symbolic programming, which makes macros easy and possible.


--
Suffering from Gates-induced brain leakage...
.



Relevant Pages

  • Re: Why return None?
    ... > That extend doesn't work for strings and tupples is irrelevant. ... If lists were being designed from scratch today, ... A "greenfield design", an entirely new language designed from scratch, ...
    (comp.lang.python)
  • Re: (Falsifiability is binary) Re: Textbook text candidate
    ... recognise design in the abstract without reference to the methods ... volume and strength of the evidence, ... You have a linik to a language aquatitional page. ... and right up and down why would aliens not use a similar form. ...
    (talk.origins)
  • Re: [Lit.] Buffer overruns
    ... this is a long rant about the links between language ... Both to some extent but definitely worse within the C community than in, ... >> culture (I am contrasting Ada and C only because I have a lot of first ... culture of low level design that it has unwittingly fostered. ...
    (sci.crypt)
  • Re: (Falsifiability is binary) Re: Textbook text candidate
    ... It adds nothing to the question of idetifying DESIGN. ... You have a linik to a language aquatitional page. ... Imagine if you will the way Hieroglyics are written left and right up and down why would aliens not use a similar form. ... To snidely asume noone has looked for primes in DNA belies the intense scritiny that undergraduagte scramble for thesies. ...
    (talk.origins)
  • Re: Speculative Design Hypothesis (with predictions) 2nd draft
    ... I'm not saying that DNA is a language ... natural languages has nothing to do with design. ... bat wings - therefore bat wings "had to be" ... So far, I'm the only person to mention the blue duck, so it's unfair of ...
    (talk.origins)