Ad
  • Custom User Avatar

    Golfing here, not writing a production calculator in 3-4 lines of code... far from best practice, if you actually used this I would laugh at you...

  • Custom User Avatar

    Golfing here, not writing a production calculator in 3-4 lines of code... far from best practice, if you actually used this I would laugh at you...

  • Custom User Avatar

    I guess using this calculator you could simply inject random code in, so it's not a "best practice," but it's certainly effective.
    Example of 12-year-old troll breaking your calculator, and its machine: Calculator.new.evaluate(system("rm -rf *"))

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution