Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for the link.

Found this interesting and against common advice.

"The bane of many projects, and the cause of their lateness, has been the insistence on not doing optimisation prematurely. The reason optimisation at late stages is so difficult is that many pieces of software are built up with instances of objects everywhere, even when not needed."

There are definitely applications where performance is of primary concern (maybe only a few) and others where they are not. In apps where it is, this gives me thought that maybe premature optimization is okay? Am I reading that right?

There's also this called Data-Oriented Programming https://www.manning.com/books/data-oriented-programming.

Are both these concepts the same?



No, DOP is basically just functional programming. There are some overlaps (e.g. separate code from data) but they're not related.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: