j: Next unread message
k: Previous unread message
j a: Jump to all threads
j l: Jump to MailingList overview
On 26 August 2015 at 19:20, Mike Miller email@example.com wrote:
One of the remaining questions for the string interpolation subject is whether to allow for easy access to environment variables and output-capture of external processes (aka command-substitution) as bash does.
While incredibly useful in use-cases such as shell-script replacements, the functionality is perceived to be, if not dangerous. More so than arbitrary expressions? Given that we are talking about string literals and not input, I'm not sure, so am looking for feedback.
The idea is not unheard of in Python, there was a module that captured process output called commands in the old days, which was superseded at some point by subprocess.check_output() I believe.
This seems like a really good idea for an external module but I see no reason why it is important enough to deserve built in syntax in the core language.
Note that cross platform issues are going to be a major issue:
Making it easy to write platform specific code when it's not needed is as much of an antipattern as making it easy to write insecure code IMO.