Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jdavidb (1361)

jdavidb
  (email not shown publicly)
http://voiceofjohn.blogspot.com/

J. David Blackstone has a Bachelor of Science in Computer Science and Engineering and nine years of experience at a wireless telecommunications company, where he learned Perl and never looked back. J. David has an advantage in that he works really hard, he has a passion for writing good software, and he knows many of the world's best Perl programmers.

Journal of jdavidb (1361)

Thursday November 11, 2004
02:02 PM

Strong typing

[ #21813 ]

From O'Reilly's Javascript: The Definitive Guide, fourth edition:

JavaScript is obviously a simpler language for being untyped. The advantage of strongly typed languages such as C++ and Java is that they enforce rigorous programming practices, which makes it easier to write, maintain, and reuse long, complex programs. Since many JavaScript programs are shorter scripts, this rigor is not necessary and we benefit from the simpler syntax.

That's interesting. My language of choice for writing, maintaining, and especially reusing a long, complex program would be Perl, and it does not have strong typing. Many people I know would feel just as emphatically that a Lisp variant is the way to go and again, no strong typing. I'm sure strong typing has an advantage, as do the languages mentioned, but I'm not sure that this is necessarily one of them.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Au contraire, lisp does have fairly strong typing, it's just not in your face. And you can make it laxer or turn it up as you desire.

    Still, I think that the type inference systems that you get with ML, Haskell and so on are probably better.

    -Dom