News for hackers. Stuff that matters.
Re:Ask HN: Why isn’t visual programming a bigger thing? by JdeBP on Friday June 05, 2020 @03:43AM (#23426025)
It is a stylistic thing, of course, but I tend to put the vertical bars at the ends of the preceding lines, which eliminates the need for escaped newlines.

One of the things not often mentioned about PowerShell is its embeddability. I have explored this since writing https://news.ycombinator.com/item?id=22849569 .

Re:Ask HN: Why isn’t visual programming a bigger thing? by jodrellblank on Friday June 05, 2020 @04:40AM (#23426332)
PowerShell 7 fixes it so you can put pipes on the new line, without needing backtick escape on the previous line. e.g. in Windows Terminal ctrl+enter a newline and write

    gci
    | select name
> One of the things not often mentioned about PowerShell is its embeddability

Not mentioned enough; Exchange 2007 GUI was built with PowerShell integration such that you could click through with a mouse, and it would show you the powershell code for you to copy/paste and reuse it yourself without a GUI. This is a very underused, under-discussed idea, IMHO.