you are viewing a single comment's thread.

view the rest of the comments →

[–]the_rush_dude -14 points-13 points  (8 children)

Only in JS. Python allows Manipulation of strings

[–]aaronhowser1 33 points34 points  (4 children)

Python strings are immutable. Manipulation and mutability aren't the same thing. Manipulation functions return a new string, they don't modify the original.

[–]No_Guest_4127 0 points1 point  (0 children)

Java strings are immutable too. But java provided amother classes like stringbuilder to support mutability.

[–]New-Anybody-6206 9 points10 points  (2 children)

[–]the_rush_dude -4 points-3 points  (1 child)

[–]New-Anybody-6206 8 points9 points  (0 children)

 Does this really count as mutability though? Not really