Page 3 of 3

Posted: Fri May 29, 2009 11:51 am
by Kale
it's essential. :wink:

Posted: Fri May 29, 2009 11:59 am
by freak
Kale wrote:it's essential. :wink:
Nope :P

Posted: Fri May 29, 2009 12:36 pm
by Poshu
freak wrote:
Nope :P
It is.

Posted: Fri May 29, 2009 12:53 pm
by rsts
For those who believe it is essential, it's probably well worth the few characters you have to enter to enable it.

cheers

Posted: Fri May 29, 2009 1:07 pm
by Kaeru Gaman
Kale wrote:EnableExplicit is essential for any serious PB program you write.
agreed
rsts wrote:For those who believe it is essential, it's probably well worth the few characters you have to enter to enable it.
agreed
akj wrote:Traditionally one of the big features of Basic is that beginners can ignore all code housekeeping/declarations and still get simple programs to work.
Making EnableExplicit the default would be another departure from this tenet of simplicity.
best argument of all

Posted: Fri May 29, 2009 1:15 pm
by ts-soft
Most error from beginners a false typed variables, false scope of variables
and so on. EnableExplicit is the only way to help beginners.

Beginner make copy and paste with missing thinks, EnableExplicit should
help, so it's for beginners the best using this great feature.

Posted: Fri May 29, 2009 1:37 pm
by PB
> EnableExplicit is the only way to help beginners

Nah, it only holds their hand and doesn't teach them to code carefully. IMO.

Posted: Fri May 29, 2009 3:36 pm
by Kale
akj wrote:Traditionally one of the big features of Basic is that beginners can ignore all code housekeeping/declarations and still get simple programs to work.
Which traditionally produces bad programmers.
akj wrote:> EnableExplicit is the only way to help beginners
Nah, it only holds their hand and doesn't teach them to code carefully. IMO.
Holding beginners' hands is the only way to teach them properly. Learning to code 'carefully' with discipline is not something a beginner would do and is simply the process of unnecessarily trying to avoid pitfalls that can be caught automatically by the compiler. Honestly, why make things hard?

Saying that, I wouldn't want EnableExplicit enabled by default though.

Posted: Fri May 29, 2009 4:50 pm
by srod
I'm no beginner and all I can say is that when I do not use EnableExplicit I spend much more time hunting bugs than I do when using this option! :wink:

Still, I do not understand the fuss; use it if you wish etc?

Posted: Fri May 29, 2009 6:24 pm
by Mistrel
I find it a luxury to be able to draft code without having to think about having to use Define/Protected all the time. I only add EnabledExplicit after I'm satisfied with my code and begin locking down on its functionality.
freak wrote:If it you have no problem putting 'Define' before every single variable, why is it such a big deal to put a single 'EnableExplicit' in the source ? :mrgreen:
freak as a point. :)

Posted: Fri May 29, 2009 10:55 pm
by idle
No training wheels by default please!

Yes Enable Explicit is useful but not while your hacking about.


Can't remember what you typed five minutes ago?

Do you get a bit dizzy while wading through 30000 lines of code?

Find it hard to actually write code these days?

What you need is the safety and security of a Zimmer Frame.
At microsoft we understand our market and created the tools of tomorrow, today. We guarantee .Net will get you moving again at your slower pace, letting you get on with writing the solutions with total peace of mind in a safe secure dribble proof environment, designed to support you. With .Net you'll be producing professional Crippledware(tm) in no time at all!
:wink: