News for hackers. Stuff that matters.
Re:An Introduction to Data Oriented Design with Rust by jbjbjbjb on Thursday September 17, 2020 @07:54PM (#24511377)
OOP isn’t necessarily slower. One thing you get is lazy evaluation for free. There’s no better performance gain that no computation. It’s also much easier to extend the types than in functional programming (where it is easier to extend the functions). I find OOP is a lot better for programming in the large too, interfaces and other abstractions are really useful as a project grows.

There are no comments on this comment yet.