1. 7
  1.  

  2. 0

    I think Java programmers are too brain washed to understand this style, because it is the exact opposite of OO myths. I would purchase this book if it were written for Go/Python/Javascript though, which support procedural programming. I think Redux tries to implement this style of programming already in Javascript but with its own bells and whistles.

    I am not sure why you mention immutable data a lot … that’s not a requirement for Entity Systems AFAIK.

    1. 15

      Java is a multiparadigmatic language and Java developers are not a uniform group of „brain washed“ people… On the other hand, there are lot of people hating Java, XML etc. for their alleged complexity… and eventually they create much worse and complex bloatware.

      1. 6

        Two things:

        1. Actually, in the book I illustrate the concepts with JavaScript snippets.
        2. Data-Oriented programming is not the same as Entity Systems.
        1. 1

          How much is this book related to this book ? Could you point to other resources apart from your own on this topic, because most are written from the perspective of game programmers which I have gone through.

          1. 1

            Don’t confuse DOD and DOP. I wrote an article that clarifies the distinction between the two.

            My book is about DOP and it has nothing to do with game development.

            1. 2

              That clarifies things a bit. I still think it would be valuable for other languages, especially go. DOD is closer to procedural programming and modelling data like relational database and this seems to be closer to clojure style immutable data structures plus good old functions.

      2. 1

        Very well written and on-point. Makes it clear where/how to use JSON-LD.

        1. 1

          Could you please elaborate a bit about JSON-LD?

          1. 3

            Sure. Start here: https://www.w3.org/TR/json-ld11/. Then go here: https://schema.org/docs/full.html JSON is largely silent about datatypes. XML ‘began’ by defining basic data types (integer, decimal, float), thereby enabling arithmetic. When XML was enhanced to support ‘namespace’, RDF emerged to add more data types to XML (registered at a specific namespace). JSON-LD is the evolution of XML/RDF in JSON notation. Google Search is a principal consumer of JSON-LD, now rendered as the Google Knowledge Graph.