Timeline for I'm a palindrome. Are you?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 24, 2018 at 14:11 | history | edited | NonlinearFruit | CC BY-SA 3.0 |
added 10 characters in body
|
Apr 5, 2018 at 19:04 | history | edited | NonlinearFruit | CC BY-SA 3.0 |
-2 bytes
|
Apr 3, 2018 at 8:14 | comment | added | Kevin Cruijssen |
I know it's been a while, but you can golf 2 bytes by changing it to s->s.contains(new StringBuffer(s).reverse())//))(esrever.)s(reffuBgnirtS wen(sniatnoc.s>-s . Try it online 90 bytes.
|
|
Sep 6, 2017 at 2:41 | comment | added | Jakob |
Well, the post you reference addresses multiple lambda expressions in a single solution, not code outside the expressions themselves (the author's intent in the last part is just to make function g available to x , not to allow extra code). At least that's the way I see it.
|
|
Sep 6, 2017 at 1:46 | comment | added | NonlinearFruit | @Jakob Lambda solutions can sometimes have extraneous code, which is why I think it is valid. But if you aren't sold, a meta post wouldn't hurt. | |
Sep 6, 2017 at 1:11 | comment | added | Jakob | Yeah, my complaint was that the line comment makes the submission more than just a lambda expression, and thus not valid as a lambda solution. Don't worry about it for now; I'll probably eventually make a meta post to gather consensus. | |
Sep 5, 2017 at 21:10 | comment | added | NonlinearFruit | @Jakob I thought it was. If you were to use the lambda, you would probably want a leading and trailing newline. (I added a tio link) | |
Sep 5, 2017 at 21:10 | history | edited | NonlinearFruit | CC BY-SA 3.0 |
tio link
|
Aug 30, 2017 at 0:21 | comment | added | Jakob | This code is not a lambda expression. | |
S Feb 22, 2017 at 21:23 | history | edited | NonlinearFruit | CC BY-SA 3.0 |
auto convert
|
S Feb 22, 2017 at 21:23 | history | suggested | CommunityBot | CC BY-SA 3.0 |
auto convert
|
Feb 22, 2017 at 21:17 | review | Suggested edits | |||
S Feb 22, 2017 at 21:23 | |||||
Feb 20, 2017 at 19:02 | history | edited | NonlinearFruit | CC BY-SA 3.0 |
added 2 characters in body
|
Feb 20, 2017 at 16:43 | history | answered | NonlinearFruit | CC BY-SA 3.0 |