>>105833290>>105833285>Because it has braces? Get your head out of your assThat's what you were saying
> es is based on functional programming languages, just like PowerShell and unlike C.Functional languages doesn't dictate any concrete syntax: LISP, OCaml, erlang are all functional languages with extremely diverse syntax.
powershell and es are extremely diverse, for loops have different syntax, if statements are different, exceptions are different, es support and make use of kebab-case for function and variables.
Both supporting first class function is not sufficient for stating they have similar syntax
> Care to explain why? Because, again, there is no free lunch, complexity can't be eliminated, just moved. If 2 tools have overlapping use cases it means there's too much complexity on one tool.
> too much complexity on one tool. I do, relatively to what problem the tool solve. Dependability is an extremely important metric in software
A smaller codebase is more extensible, portable, maintanable and learnable
> What duplication? Being able to access the same framework from multiple languages is the opposite of duplicationThe duplication is on the capabilities of the shell. In unix the shell is the only way to perform high level functional composition, sending/receiving messages from existing programs, which can also be executed by themselves
Having a common framework from which you can glue pieces of functionality makes the shell less functionally essential.
> You don't have messages, you have text.They are the same from an interface point when compared to object querying.
> ext that you as the caller must parse and format yourself from one command to the next.That looks like a textual message
> It's like the gotards that think they have a simple and ergonomic languageStay on topic and don't make strawmen
> If you have two commands that input and output objects, it's trivial to pass data between them.It's also trivial to pass text