Reduce system complexity with Data-Oriented programming

  Рет қаралды 1,878

Ticino Software Craft

Ticino Software Craft

Күн бұрын

Пікірлер
@dreastonbikrain1896
@dreastonbikrain1896 2 жыл бұрын
This is not Data-oriented programming/design TL;DR: this presentation is mainly about doing web-development kinds of functional-ish programming without inheritance and without data mutation & un-safe map based "structures" as function inputs - can be: error-prone, non-performant. The term data-oriented programming has been previously established in game/high-performance computing and is used here incorrectly. My thoughts on this presentation I had a feeling for the entirety of the video that the presenter is not talking about data-oriented programming. Data-Oriented programming generally today is mainly known from game development where people have been practicing the thing that they call it for decades, i.e. high performance computing. But the presenter stated (at 9:27) that he doesn't think that his "data-oriented programming" is good for games (this was the first flag that he is talking about something else). At 16:15 he started to talk about some "principles" behind this way of programming which are mainly the principles of functional programming and NOT conventional data-oriented programming (the one used for high performance programming). At 27:20 he starts talking about data representation, what he says there is a bit far away from conventional data-oriented programming that is mainly done in C,C++,C# nowadays. There you wouldn't use generic data structures as the presenter here is suggesting. The reason being that generic data structures not tied to the problem affect data fetching and manipulation negatively. The author suggests using hash-maps for representing any data even records, this way engineers can introduce dynamicity into even statically typed languages. Furthermore, he is suggesting every function to be unsafe by saying that keys in the hash-map (i.e. record fields, or class fields) should be assumed that they are there, and no checks should be implemented at all. This leads to volatile code that has no gains and introduces fail points in every function/procedure. I am not stating that unsafe (i.e. non-precondition checked) functions are incorrect, they are if the rest of the codebase is at every call-point, and if there is something to gain by using them - mainly performance. But I think that doing unsafe map based "structures" as function inputs leads to increased development time. See TL;DR above for my final thoughts. Videos which are on the established meaning of data-oriented programming/design. kzbin.info/www/bejne/qImTeqeMerudfsU kzbin.info/www/bejne/r6qbm4Sdos2Vd7c kzbin.info/www/bejne/q2mlZJ1up9aMg9k kzbin.info/www/bejne/pmeYiqdoZdWqZsk kzbin.info/www/bejne/hIiwqWSHa5uWZ5Y
Domain-Driven Frontend
52:05
Ticino Software Craft
Рет қаралды 3,9 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
UX principles for developers
1:06:59
Ticino Software Craft
Рет қаралды 94
JVM Ergonomics for Software Engineers
47:32
Ticino Software Craft
Рет қаралды 302
Colombo Data & AI Meetup - Inaugural Event - 14/Dec/2024
1:20:47
Tributary Data
Рет қаралды 149
Amazon SQS and SNS for .NET developers
1:34:58
Ticino Software Craft
Рет қаралды 647
Redis come Vector Database
1:00:55
Ticino Software Craft
Рет қаралды 132
Dealing with Data Consistency - a CDC approach to dual write
52:31
Ticino Software Craft
Рет қаралды 293
A Production-Ready AI Assistant Framework: The Cheshire Cat!
1:21:28
Ticino Software Craft
Рет қаралды 480
AQUACULTURE BUSINESS GROWTH CONFERENCE DAY 2
2:21:19
Pescademy
Рет қаралды 174
Tana Network/Cyber Security Seminar By TL.Sharma
1:18:48
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.