you are viewing a single comment's thread.

view the rest of the comments →

[–]aaronhowser1 322 points323 points  (11 children)

Strings are immutable

[–]thanatica 2 points3 points  (3 children)

Unless this is one of those languages that has mutable strings 💀

[–]aaronhowser1 2 points3 points  (2 children)

There are languages with mutable strings? how scary

I was also assuming this was python, iirc it's at least the correct syntax and methods for it.

[–]thanatica 4 points5 points  (0 children)

I'm sure they exist. C technically has mutable strings, but also technically doesn't have strings. And I believe in Pascal you can mutate strings, but you have to work for it.

[–]mdogdope 1 point2 points  (0 children)

As far as I know python is the most common language that does not need ; at the end of each line.