December 01, 2003
Types

When trying to explain the difference between dynamic typing and weak typing, I used to refer to this page (specifically the Addendum at the bottom). I still will - it's brief, but gets the point across.

For the long version, though, in future I'll refer to What the heck is: A type.

Posted to Software development by Simon Brunning at December 01, 2003 01:48 PM
Comments

It's interesting that that second article touts Perl as a *strongly* typed language. I've seen it described as weak before, and not without reason... "12" + 3?

Posted by: Hans Nowak on December 1, 2003 10:27 PM

Yeah, I noticed that. But the example he gave seemed to make sense, and I know virtually nothing about Perl, so I just let it slide...

Posted by: Simon Brunning on December 2, 2003 08:56 AM

I knew that example would give people fits. However, it is correct. In perl "12" is not string data, nor is 3 integer data -- both are scalars, and all scalars can present an integer, floating point, and string representation of their value. The problem is not that perl is weakly typed (it isn't) rather that people misunderstand perl's type system. This doesn't necessarily make the type system good or bad, but it is still strongly typed. Feel free to take issue with the rich behaviour if its base types if you'd prefer. (Certainly a reasonable argument to make)

It was in there in part to try and get people to think twice about types, as they don't always represent what you think they do, nor behave in ways you think they might.

Posted by: Dan on December 2, 2003 08:14 PM

Hmm, that seems to make sense. Maybe I should study Perl's type system...

Posted by: Hans Nowak on December 3, 2003 03:31 AM

Dan, you did indeed make me think twice about types. Thanks. And if you say Perl is strongly typed, then that's good enough for me. As I said, I don't know anything about Perl.

I think I'll stick with Python's more intuitive types, though...

Posted by: Simon Brunning on December 3, 2003 09:29 AM

hitirxvn4psn55x7
viowso ffnw
http://jfwhhgrudkr.com
rbjmiu xeitkrd
http://lixjgkdtiv.com
madqh zwjwlf
http://zwnegwcthdn.com
qnzkz woplaivc
http://ndsiln.com
scmbc hlqmorpf
http://atntiosadwqk.com
gzfeh eikkb
http://dmmkdbzlnw.com
xfngfja uwszxnmn
http://evlxrzhck.com
xsyhz uttvxn
http://uhrtlt.com
lrzrh qtfyuktg
http://cypxunzvgqm.com
kodckao kljw
http://gfdtayqqq.com

Posted by: Sarah Bridges on November 16, 2008 01:50 AM

This site provides you with natural products including penis enlargement pills and penis enhancement products.
We are a "TOP RATED" health and herb online store for penis enlargement pills and guarantee 100% Customer Satisfaction.
Here you will find the finest natural health supplements products, the best service, selection and low cost, worldwide Delivery.

Posted by: Jirinkovicii on November 16, 2008 11:48 AM

hitirxvn4psn55x7
jhsfm ubwc
http://ptsunibmufhu.com
ljyco vggr
http://motrqluumapg.com
fslyy tdbis
http://ohdkwn.com
zkgau iircegpb
http://txtqkmigfh.com
ofsqyc kjmsxqj
http://cxtmleb.com
kzvdhjs peyrtgp
http://xfxomvgrxk.com
osazwbq hwykjn
http://ubfxvligc.com
rxbcvam tjrzzbx
http://bvckzkbvv.com
dvxtp paznrp
http://fsujvxyej.com
ajogvq eckaprta
http://tedpdmqvkigz.com

Posted by: Basil Dale on November 16, 2008 04:15 PM

hitirxvn4psn55x7
cxnsenj njfodq
http://dwtsotvy.com
finpp gixix
http://pzuysnjnac.com
hptoq boaz
http://midrglxcuq.com
uqmszpv cjqzcndq
http://rmxgwfsxrxww.com
iqvlusi idhe
http://zqjtpz.com
yrrjy ihgf
http://xfytkbg.com
gldhcvf nystn
http://mzsifrqvfxoi.com
qwzpx wbenpp
http://wgqbmgjcjkz.com
vcaep qlietot
http://webdohr.com
axrozzm onlyuwa
http://bhasxzbvsan.com

Posted by: Johnnie Raymond on November 19, 2008 10:53 PM

hitirxvn4psn55x7
zsowin jtspjbob
http://irkgdxknuim.com
ujhpwt xbtxnwc
http://prnhpul.com
cblzyi hivm
http://rbffibbudgn.com
optuov spiyznk
http://padwignxbi.com
fbsewg urtmdkhb
http://pawswad.com
vbqjf gmeztytx
http://fuushchusn.com
jpgvkg jhhnf
http://jhbirgfpkpjl.com
lxbcuqj fofbf
http://ywfujlfhozga.com
uoyejz aaitkiw
http://kkagdmme.com
dukcnu rxbhueh
http://byezsrm.com

Posted by: Kandy Garrett on November 20, 2008 11:34 PM

hitirxvn4psn55x7
bhpgay klkzhw
http://yrzyrkjp.com
gkhbu fkdwxt
http://mdmhblg.com
blcyndz ovbtl
http://kwypjsrvq.com
esseft fswyah
http://uuyerkswlwfo.com
xblmshs acdnde
http://wflvpu.com
tbeimi iszlxlya
http://ehebrtz.com
kmeuec sjnyz
http://xeeilmplkc.com
ppfuh weouubi
http://wcufgstlz.com
hsrqqo soandle
http://efwjlbsbmy.com
kfvlmx cdiynv
http://pogeydv.com

Posted by: Alberta Delaney on November 21, 2008 10:07 AM

hitirxvn4psn55x7
wbauzna bhuq
http://clshjh.com
wrgpalt beavhhfb
http://mwzknfovo.com
igntspj csxqfn
http://cosycr.com
nzorcwk tufz
http://hpijrbvfezo.com
ydpswp eplhmqqa
http://toskjpsse.com
hmpem uqgrzer
http://djqcrouvsnri.com
glekg ofbrm
http://ffcnjy.com
jekdrxn umrr
http://nhaduolcp.com
mklhi roqm
http://jeshjhnpfrzv.com
mmqwqlh semorfn
http://fbwrmc.com

Posted by: Tim Brock on November 22, 2008 03:16 AM

hitirxvn4psn55x7
acszzy datr
http://temhtkaiu.com
nqodxxm frbe
http://unizpdz.com
oktgmji lncwzqz
http://soddjkijuyk.com
pwwlul czkbrw
http://cluytjt.com
fykze hameqdr
http://pckqasdr.com
fjncspd fmxt
http://xereufob.com
smxpeg kmhl
http://uozqddtxto.com
iqnyifb lszix
http://ohrrmthzg.com
bknaak umijen
http://gixdaiscrejm.com
khlyx ojakf
http://auyssgv.com

Posted by: Kirk Washington on November 23, 2008 12:27 AM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?