3 ms·
Powershell is closer to FP than OOP. What people mean is that it supports structured data. Powershell is not true FP, but, if you stretch terminology: - the u
by psd1 2y ago
Powershell is closer to FP than OOP. What people mean is that it supports structured data.
Powershell is not true FP, but, if you stretch terminology:
- the unit of feature delivery is the function
- you can pass functions as values (but it's not idiomatic or elegant)
- objects tend to look more like anonymous records than OOP classes with methods
- pattern matching is supported (sort of)