MonsterJoe
10-13-2004, 11:56 PM
Newbie alert!!
I'm completely new to Laszlo and JavaScript but have
many years of experience in Java, C/C++, Delphi etc.
I've been through most of the documentation and I'm
begining to understand the overall picture. But one
thing that strikes me is that in JavaScript you don't
have to declare variables. I'm shocked. That simply
can not be true. Hasn't the inventor of JavaScript
learned anything from the past.
By not requiring to declare variables, you won't
catch all the spelling errors we humans are famous
for.
Please add an option to require explicitly declaring
variables. Even the Visual Basic guys have found
out that this is a good idea. They have their
"option explicit" statement.
I'm completely new to Laszlo and JavaScript but have
many years of experience in Java, C/C++, Delphi etc.
I've been through most of the documentation and I'm
begining to understand the overall picture. But one
thing that strikes me is that in JavaScript you don't
have to declare variables. I'm shocked. That simply
can not be true. Hasn't the inventor of JavaScript
learned anything from the past.
By not requiring to declare variables, you won't
catch all the spelling errors we humans are famous
for.
Please add an option to require explicitly declaring
variables. Even the Visual Basic guys have found
out that this is a good idea. They have their
"option explicit" statement.