Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • \$\begingroup\$ Using an octal escape in the text would increase your score by 6 instead of the 2 you get for your Unicode escape (having both is worse though). Also, concatenating the first or last character will increase your score by 1. Finally think you might be better off with a lambda rather than a named function. \$\endgroup\$ Commented Mar 14, 2017 at 18:27
  • \$\begingroup\$ @Neil Weird, I did already came up with Object x(){return"C\157de Bowling";} a few hours ago for 17 points.. Apparently I haven't edited / saved it in my submission, though.. :S As for the lambda, I use Java 7 which doesn't have any lambdas yet. I could add a Java 8 answer with lambda, though. \$\endgroup\$ Commented Mar 14, 2017 at 19:57
  • \$\begingroup\$ Whoops, sorry, I didn't notice the 7. (But don't forget the concatenation.) \$\endgroup\$ Commented Mar 14, 2017 at 22:25
  • 1
    \$\begingroup\$ Using the same approach as my Haskell answer gives this version with a score of 77: Try it online!. \$\endgroup\$ Commented Feb 28, 2018 at 15:48
  • \$\begingroup\$ @Laikoni Thanks! +53 score thanks to you. And since Java 8 answers are usually answered without the trailing semi-colon, I could remove that trailing semi-colon and replace the repeated ,, with ,; for another +1. Funny how the String using all available printable ASCII that were left is EXACTLY 97 characters for char-code C. :) \$\endgroup\$ Commented Feb 28, 2018 at 16:07