News for hackers. Stuff that matters.
Re:Beyond Bash: Shell scripting in a typed, OO language by GlennS on Sunday August 16, 2015 @07:10AM (#10068590)
Powershell has some pitfalls of its own (I still much prefer it to Bash despite these):

  1. Dynamic scoping
  2. Squashing lists of size 0 to nulls and 
     size 1 to single elements when they come out of pipes.
  3. Incomprehensible API for XML handling.
On the other hand, when a Powershell program starts getting too big, it's pretty trivial to port parts of it to one of the other .NET languages.
Re:Beyond Bash: Shell scripting in a typed, OO language by lihaoyi on Sunday August 16, 2015 @09:40AM (#10068871)
> 3. Incomprehensible API for XML handling.

If you think Scala has a better API for XML handling then you're in for a surprise...

Re:Beyond Bash: Shell scripting in a typed, OO language by manojlds on Sunday August 16, 2015 @12:00PM (#10069232)
Very true pitfalls, and there are other ones like any non-captured value anywhere in a function becomes the output of the function.