Ask HN: Why is data simpler than syntax?
One in particular is data being simpler than syntax. Are there any resources online that explain this idea in more depth?
One in particular is data being simpler than syntax. Are there any resources online that explain this idea in more depth?
Here's what I see on the page:
> Complex constructs: State, Object, Methods, Syntax, Inheritance, Switch/matching, Vars, Imperative loops, Actors, ORM, Conditionals.
> Simple constructs: Values, Functions, Namespaces, Data, Polymorphism, Managed refs, Set functions, Queues, Declarative data manipulation, Rules, Consistency.
And to dig deeper, it makes sense to search for "why state is bad", "why inheritance is harmful", "avoid conditionals", etc., and read whatever you find interesting.
Go has particularly simple syntax. Here's a talk by Rob Pike about simplicity, syntax, and language feature you might find interesting https://youtu.be/rFejpH_tAHM