what's an option strict and explicit?

Posted by Ygam on Stack Overflow See other posts from Stack Overflow or by Ygam
Published on 2010-03-16T13:15:50Z Indexed on 2010/03/16 13:16 UTC
Read the original article Hit count: 315

I saw this post:

"Typos… Just use option strict and explicit please.. during one software development project, which I was on as a consultant, they were getting ridiculous amounts of errors everywhere… turned out the developer couldn’t spell and would declare variables with incorrect spelling.. no big deal, until you use the correct spelling when you’re assigning a value to it… and you had option explicit off. Ouch to them…"

what is an option strict and explicit anyway? I have googled it up but can't get the idea (because mostly it's Visual Basic, I'm doing PHP)

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about php