Data-Oriented Programming: Unlearning objects (MEAP Version 14)КНИГИ » ПРОГРАММИНГ
Название: Data-Oriented Programming: Unlearning objects (MEAP Version 14) Автор: Yehonathan Sharvit Издательство: Manning Publications Год: 2022 Формат: True PDF Страниц: 447 Размер: 10 Mb Язык: English
Eliminate the unavoidable complexity of object-oriented designs. Using the persistent data structures built into most modern programming languages, Data-oriented programming cleanly separates code and data, which simplifies state management and eases concurrency. In Data-Oriented Programming you will learn how to: Separate code from data Effectively manage state using immutable data Represent data with generic data structures Manipulate data with general-purpose functions Control concurrency in highly scalable systems Specify the shape of your data Benefit from polymorphism without objects Debug programs without a debugger Distinguish data-oriented programming from functional and OO programming Data-Oriented Programming teaches you to design applications using the data-oriented paradigm. These powerful new ideas are presented through conversations, code snippets, diagrams, and even songs to help you quickly grok what’s great about DOP. You’ll learn to write DOP code that can be implemented in languages like javascript, Ruby, Python, Clojure and also in traditional OO languages like Java or C#. About the Technology Data-oriented programming is an exciting new paradigm that eliminates the usual complexity caused by combining data and code into objects and classes. In DOP, you maintain application data in persistent generic data structures separated from the program’s code. You use general-purpose functions to manipulate the data without mutating it. This approach rids your applications of state-related bugs and makes your code much easier to understand and maintain.