comments in code on eval()

Discussion in 'Ruby' started by Giles Bowkett, Aug 18, 2007.

  1. # 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

    Giles Bowkett, Aug 18, 2007
    1. Advertisements

  2. 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
    James Edward Gray II, Aug 18, 2007
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.