Комментарии:
OMG , I used DoD and I didn't realize it :) in terms of tools I use Ajv to validate my input JSON . which makes my code static on runtime and dynamic on compile , I even can define the exact format of string like ip v4 email .
ОтветитьLove this book. I've read it a couple times and some passages more than that.
ОтветитьSry, but since he mentioned it 3 times I have to throw it in... Closure/Hickey was (by far) not the first to come up with immutable DS.
ОтветитьI am 3 chapters into his book ... good read so far. I can't help but think everything I have read so far is identical to how we built software in C last century though. I am sure that feeling will disappear as I read on past what seems to be the "undoing" of OOP part of the book.
ОтветитьMore should listen to Yehonathan Sharvit, very few developers is talking about "data oriented design" and that is really sad. I think the main reason why so few talk about it is that takes some time to learn and you should know how the hardware works.
With that said, it is possible to take this type of development very far with C/C++. C/C++ differ a lot from other types of languages because C/C++ is basically assembler without coding assembler. You have maximum freedom. That means that the developer are able to more logic around data to make it "smart" compared to other languages. Invested time in making smart code can be reused. Making cache friendly code, take advantage of SIMD and threads. It is hard but this "smart" code and you can throw away huge amounts of code that it replaces.