@s4schoener@lucasmeijer Instead of having people work on the engine, they keep making them do pointless, low-value service work and constantly adding new services.
OOP was (at least partly) an attempt to create a mechanical system for modeling any area of knowledge with only partial understanding. As a result, its default result is usually extremely defensive and verbose code (see screenshot).
Techniques like abstract base classes and inheritance hierarchies are precisely for guarding against future changes caused by ignorance or lack of planning. The problem is this level of generality/flexibility is almost always unnecessary and has non-trivial compile time, run time, and complexity costs.
OOP was (at least partly) an attempt to create a mechanical system for modeling any area of knowledge with only partial understanding. As a result, its default result is usually extremely defensive and verbose code (see screenshot).
Techniques like abstract base classes and inheritance hierarchies are precisely for guarding against future changes caused by ignorance or lack of planning. The problem is this level of generality/flexibility is almost always unnecessary and has non-trivial compile time, run time, and complexity costs.
@plainionist Learn the basics. Just as before. Learn them very well. Write assembler, C, Java, Ruby. Learn algorithms and data structures. Read the old classics.
And then start using agents.
Novices with power tools tend to lose fingers.
@ChShersh How do you decide when to use templates in real(prod) projects? For example, do you mainly use them for code reuse, type safety, or performance? And when do you prefer inheritance, polymorphism, overloading, or simpler class/function designs instead?
@gvanrossum Flight code for the rockets and Starlink satellites is written in C and C++.
Python is used where runtime performance is less important than rapid iteration and ease of use.
just finished my ECS system in C and it turns out it's ~17x faster than @unity DOTS on the web
that's 100k boids at ~90 FPS instead of 17 FPS
sharing the code and link for this demo soon, details below 🧵