4 ms·
This is one of my favorite features of Ruby! Though Ruby makes it confusing AF because there are two quoting types for both strings and symbols, and they're di
by pdntspa 4y ago
This is one of my favorite features of Ruby!
Though Ruby makes it confusing AF because there are two quoting types for both strings and symbols, and they're different. (%Q %q %W %w %i) I can never remember which does which.... the letter choice feels really arbitrary.
- pmarreck 4y agoElixir has something like this too, but even more powerful (you can define your own): https://elixir-lang.org/getting-started/sigils.html#strings-char-lists-and-word-lists-sigils https://elixir-lang.org/getting-started/sigils.html#strings-...