comments in code on eval()

G

Giles Bowkett

# note: this code uses eval(). eval()'s behind a pair of [].each calls
which filter it and make
# it safe to use. use similar precautions and be careful using eval().
also, profile it for
# performance. never expose eval() to user input. wash eval() before
and after use. do not
# eat eval() or attempt to operate heavy machinery after using eval().

let's see if that makes it to production.

--
Giles Bowkett

Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com/
 
J

James Edward Gray II

# note: this code uses eval(). eval()'s behind a pair of [].each calls
which filter it and make
# it safe to use. use similar precautions and be careful using eval().
also, profile it for
# performance. never expose eval() to user input. wash eval() before
and after use. do not
# eat eval() or attempt to operate heavy machinery after using eval().

let's see if that makes it to production.

Giles, why do I feel like there's only one tool in your toolbox? ;)

On second thought, maybe it's just your favorite hammer...

James Edward Gray II
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top