"eval() is evil."
An open-minded approach
- learn the language
- experiment with the language
- all of it
Then decide for yourself.
As a side note: no
lint utility for any language should be in the business of flagging coding style.
jslint loves telling me not to use single line conditionals. I'm a big kid, Doug, I'll code how I want.
Every time I find myself spouting some random "truth" about programming I heard or adhere to, I check it. Code against it. Really get to know the truthiness of it before I spout it again.
I know time is hard to come by these days, and it's easier to blindly accept someone else's coding rules. The thing is: following those rules doesn't make you a better programmer, nor does it make your code better. Nothing replaces understanding and experience, so bite the bullet and dig in.
Above all: have fun with coding. Learn the deep capabilities of your language of choice and make up your own mind.
Too heavy? Have some fun with GOTOJS!