in reply to Re^6: "strong typing" is potentially ambiguous
in thread (Completely OT) - Hero(i)n programming language on Slashdot

If you can subvert the system, then it's not strong.

Please go back and read MJD on Strong Typing again. As he says, there is no universally agreed-upon definition of "strong typing". One of the several de facto definitions he cites is the one you're reflecting, above. But there are others. Given that, it would be wise (IMHO) to stop trying to argue whether/how Perl's type system is "strong". Thanks.

(Update: "more typing goodness from MJD", as sleepingsquirrel put it.)

  • Comment on Re^7: "strong typing" is potentially ambiguous

Replies are listed 'Best First'.
Re^8: "strong typing" is potentially ambiguous
by hardburn (Abbot) on Dec 15, 2004 at 15:47 UTC

    There is a good definition of what a type system is. As I noted earilier in the thread, a type system limits the operations you can perform on a given peice of data (this definition is a bit informal, but will do for now). Further, type systems come out of formal logic, and predate CS.

    From that, the definition of "strong type system" comes quite naturally. If you can perform operations that the type system should have forbid, it's a weak type system. Otherwise, it's strong.

    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

      If it's so natural, then why is there so much disagreement? Your definition sounds reasonable... but then, so do most of the other seven MJD cites.

      Unless and until the world agrees on a definition of "strong typing", any discussions revolving around the phrase are destined to devolve into conflagration.

        then why is there so much disagreement?

        Because modern Comp Sci programs are designed to churn out assembly-line programmers? He said many of the definitions listed came out of class notes, which I generally consider untrustworthy.

        "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.