News for hackers. Stuff that matters.
Re:Shortest way to reverse a string in programming languages by dalke on Tuesday November 04, 2014 @02:19PM (#8558470)
As usual, APL wins: ⌽'string' . In J that's |.'string' .

See http://rosettacode.org/wiki/Reverse_a_string for plenty of other examples.

Re:Shortest way to reverse a string in programming languages by aligajani on Tuesday November 04, 2014 @02:30PM (#8558539)
Interesting, how would one go about finding ⌽ on a keyboard.
Re:Shortest way to reverse a string in programming languages by boo_radley on Tuesday November 04, 2014 @03:18PM (#8558817)
In the usual way, of course.
Re:Shortest way to reverse a string in programming languages by JCJoverTCP on Tuesday November 04, 2014 @03:22PM (#8558831)
if length of the string is 1, this may shorten some answers, no?
Re:Shortest way to reverse a string in programming languages by aligajani on Tuesday November 04, 2014 @07:37PM (#8559918)
Well, in Python the reversing is as short as a print
Re:Shortest way to reverse a string in programming languages by kjs3 on Wednesday November 05, 2014 @03:50PM (#8564159)
Sure...same as if the cow is spherical.