Comment on Never create Ruby strings longer than 23 charactersparentComments−charliesome14yWell I dunno how they could possibly be null terminated if you can stick a null in any old string: >> "hello\0world".length => 11−zokier14yThat could be explained with ruby doing escaping of null characters automatically in the background, although I don't believe that to be the case.
Comments
Well I dunno how they could possibly be null terminated if you can stick a null in any old string:
That could be explained with ruby doing escaping of null characters automatically in the background, although I don't believe that to be the case.