Skip to main content
6 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Sep 15, 2016 at 12:18 comment added Olivier Grégoire @KevinCruijssen Java 7 is not supported anymore (except with big $$$). We shouldn't have to specify the version of Java. Also, if you write as Java 7, most of the answers can be written in Java 1.1 or 1.2. So shouldn't you write the lowest version with which it works? If the code in this answer was Java 7 compliant, it'd be Java 1.2 compliant, and... would still work in Java 8.
Sep 15, 2016 at 9:46 comment added Shaun Wild Na, it's fine to assume that his is using the latest version of Java.
Sep 15, 2016 at 9:46 history edited Shaun Wild CC BY-SA 3.0
deleted 41 characters in body
Sep 15, 2016 at 8:26 comment added Kevin Cruijssen This can be golfed some more: (s,r)->{for(int i=0;i++<s.length();)r+=i%2<1?s:new StringBuffer(s).reverse();return r;}; (88 bytes). Also, I would specify that this is Java 8.
Sep 15, 2016 at 8:13 history answered Shaun Wild CC BY-SA 3.0