ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
RE: [xml-dev] Strong versus (weak|runtime) typing
by Dare Obasanjo other posts by this author
Feb 12 2003 9:07PM messages near this date
Re: [xml-dev] New tool for handling XML in Java | Re: [xml-dev] Strong versus (weak|runtime) 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@[...].com] 
Sent: Wednesday, February 12, 2003 12:37 PM
To: Dare Obasanjo; xml-dev@[...].org
Subject: RE: [xml-dev] 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@[...].com]
> Sent: Wednesday, February 12, 2003 11:20 AM
> To: xml-dev@[...].org
> Subject: [xml-dev] 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



-----------------------------------------------------------------
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> 
Thread:
Dare Obasanjo
Richard Tobin
Rich Salz

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved