strong typing versus weak typing,strong weak typing,strong typing vs weak typing,strong and weak arguments,strong or weak arguments,strong versus weak typing,runtime typing,javascript strong typing,strong typing and weak typing,strong and weak typing, xml%%%strong typing versus weak typing - RE: Strong versus (weak

[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Strong versus (weak|runtime) typing

  • To: "Sean McGrath" <sean.mcgrath@p...>,<xml-dev@l...>
  • Subject: RE: Strong versus (weak|runtime) typing
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Wed, 12 Feb 2003 13:07:43 -0800
  • Thread-index: AcLS1w1LrVDpJNQLTE2cB3fJ4d2uLQAAflCA
  • Thread-topic: Strong versus (weak|runtime) typing

strong typing versus weak typing
Static Typing - Type of variables must be declared at compile time (e.g.
C++)
Dynamic Typing - Type of variables determined from usage at runtime
(e.g. JavaScript) 
Strong Typing - Variables cannot be coerced to unrelated types. (e.g.
Java) 
Weak Typing -  Variables can be coerced to unrelated types. (e.g. C) 

These are the definitions I've seen in writings from academia over the
past few years. 

-----Original Message-----
From: Sean McGrath [mailto:sean.mcgrath@p...] 
Sent: Wednesday, February 12, 2003 12:37 PM
To: Dare Obasanjo; xml-dev@l...
Subject: RE:  Strong versus (weak|runtime) typing


Dare,

I'm intrigued. How would you define "weak typing"?

Sean

At 12:05 12/02/2003 -0800, Dare Obasanjo wrote:
>I'm impressed by the fact that neither the interviewer nor the 
>interviewer seem to be able to tell the difference between strong vs. 
>weak typing and static vs. dynamic typing. It is especially amusing to 
>see someone claim that Smalltalk is "weakly typed".
>
>As for what this argument has to do with the XML arguments on strong 
>vs. weak typing I'd assumed it was obvious. The people who process XML 
>with strongly typed languages (e.g. Java & C# folks) are all about 
>strongly typed XML while those who process it with weakly typed 
>languages (Perl & Python folks) are for weak typing in XML. Or at least

>that has been the case in the XML-DEV discussions I've seen.
>
>-----Original Message-----
>From: Sean McGrath [mailto:sean.mcgrath@p...]
>Sent: Wednesday, February 12, 2003 11:20 AM
>To: xml-dev@l...
>Subject:  Strong versus (weak|runtime) typing
>
>
>An interesting interview with the great man himself, Guido van Rossum, 
>creator of Python. http://www.artima.com/intv/strongweak.html
>
>Is the strong/weak/runtime typing argument over XML any different from 
>that debate in programming languages.
>
>I dunno.
>
>Sean
>
>
>http://seanmcgrath.blogspot.com
>
>
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an 
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://lists.xml.org/ob/adm.pl>

http://seanmcgrath.blogspot.com



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.