Skip to main content
9 events
when toggle format what by license comment
Feb 26, 2021 at 14:37 comment added René Baudisch Regarding, the accepted answer will be much longer when you need let's say 60 char long strings, and this still fits, I gave my vote for this answer.
Jan 16, 2014 at 21:55 comment added Tim Seguine @Jasper code golf is off topic for this site.
Dec 22, 2013 at 11:39 history edited Azadeh Radkianpour CC BY-SA 3.0
deleted 20 characters in body
Dec 22, 2013 at 11:36 comment added Azadeh Radkianpour I don't understand. where does 'the shortest code logic' come from? This is a good function and the chance of returning duplicate word is very low.
Dec 22, 2013 at 11:32 comment added Eric @Steve: Please, explain how a piece of code can be "too long"?
Dec 22, 2013 at 11:31 comment added Jasper thanks, but this function is too long.
Dec 22, 2013 at 11:31 comment added Eric chars.substring(rnum, rnum + 1) => chars[rnum]
Dec 22, 2013 at 11:31 history edited Eric CC BY-SA 3.0
Indentation
Dec 22, 2013 at 11:29 history answered Azadeh Radkianpour CC BY-SA 3.0