News for hackers. Stuff that matters.
Re:PowerShell 7.0 by Ididntdothis on Wednesday March 04, 2020 @03:05PM (#22487475)
I don’t remember the exact details but for example loading classes that reference each other was hard unless they were all in the same file. I ended up writing a preload step that would combine all library files into one big file and execute that. In general I found it hard to write reusable code once that code started referencing each other. Maybe there are ways around that but it seems kind of stupid to create a new way of achieving what other languages have already solved decades ago.

If cmdlets were easier to use i would probably have used a proper language like csscript or C# instead of Powershell.

There are no comments on this comment yet.