News for hackers. Stuff that matters.
Re:Announcing .NET Core 2.0 by jdc0589 on Wednesday August 16, 2017 @10:41AM (#15027819)
Huh, I did't know there was lineage there. Coincidentally, I've actually used Beanshell; integrating it in to a project was a SUPER pleasant experience.

It was some weird find/replace thing I contrived in college to let you do weird crap like define a bunch named regexes and use them to match and transform stuff. Contrived example that chops the "L" off long literals in files with the (optional) beanshell integration:

  integer {
        -?[0-9]+
  }

  really_bad_long_chopper {
    <integer>L
  } -> {
    String original = match.group(0);
    return original.substring(0, original.length() -1);
  }

There are no comments on this comment yet.