News for hackers. Stuff that matters.
Re:Shell Script Best Practices, from a decade of scripting t... by pdntspa on Thursday October 27, 2022 @03:43PM (#33362984)
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.

Re:Shell Script Best Practices, from a decade of scripting t... by pmarreck on Friday October 28, 2022 @12:19PM (#33373500)
Elixir has something like this too, but even more powerful (you can define your own):

https://elixir-lang.org/getting-started/sigils.html#strings-...