Skip to main content
Submitted by Xenoveritas on
Anonymous (not verified)

Well, the problem isn't that javascript isn't typed, it's the way javascript is interpretted. There's only one pass done on the code and that one pass, does interpret/syntax check/run.

Tue, 03/28/2006 - 22:40 Permalink

I think I've mentioned that JavaScript sucks before. This is why C++ is better:

d:/Firefox\mozilla\extensions\firetorrent\src\FTorrent.cpp(159) : error C2065: 'm_incompletePeers' : undeclared identifier

Hm? Oh, I accidently wrote "m_uncompletePeers" in the class header.

In JavaScript, this would have compiled, and I'd have to wait until something referenced m_incompletePeers to discover that I'd made a typo.

I like typed languages.