by teddyh · 1y ago · 0 comments
<< is inplace append operator for strings/arrays, while + is used to make copy. So += will make new string & rebind variable
Good reminder that anyone can go on the internet, just say stuff, and be wrong.
Before that, Ruby did "support encodings" in a sense, but a lot of the APIs were byte oriented. It was awkward in general.
https://web.archive.org/web/20180331093051/http://graysoftin...