News for hackers. Stuff that matters.
Re:Reasons Kubernetes is so complex by jhoechtl on Thursday January 27, 2022 @06:47AM (#30099310)
> Why it's easy to understand because it's declarative

Whoever came up with that ... XSLT or Prolog are declarative yet I challenge both of them to be hard to understand

Re:Reasons Kubernetes is so complex by 62951413 on Thursday January 27, 2022 @07:25PM (#30109074)
I'm fairly certain people like me are confused by Prolog not because it's declarative but because it's a logic programming language. Which is more exotic than a functional one with even more esoteric syntax.

I have a feeling XSLT would be better known (i.e. be able to justify investment into learning) if not for json/yaml popularity. Though XML is not particularly human readable anyway. The next logical step after https://json-schema.org/ would be JSLT I imagine.

On a related note, Maven is a great example of a declarative build system. Both Gradle and SBT were gigantic steps back.

Re:Reasons Kubernetes is so complex by nightpool on Thursday January 27, 2022 @10:35AM (#30101755)
But on the flip side, Excel spreadsheets are declarative, and they're the most commonly used programming language in the world. Declarative programs can be simpler, when simplicity is the goal.
Re:Reasons Kubernetes is so complex by carlmr on Thursday January 27, 2022 @07:03AM (#30099481)
Very good examples. I would put SQL in the "good" column for example. I'm not saying declarative = bad either, just that I don't see the causation.