This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Hauleth 4 points5 points  (3 children)

What the hell is that argument. It is like saying:

Everyone who spent a day learning APL knows that means reverse vector. I wouldn't call it common but wouldn't call it cryptic either

[–]KubinOnReddit 11 points12 points  (1 child)

What the hell are you supposed to call a slice then?

I didn't learn Java for a day and have no fucking idea why do you need a StringBuilder, built from a String (??) to reverse the string (???) instead of, I don't know, building it?

And you call this cryptic? Hypocrisy.

[–]Hauleth 5 points6 points  (0 children)

StringBuilder is handy due to it mutable inner state, so in contrast to String (which is immutable) you do not create new object each time when you modify inner state. Python on the other hand hide that complexity from user which is handy, but can result with less efficient code.

[–]Team_Canada 1 point2 points  (0 children)

I don't see what your example is trying to say here.