He appears to be the type of programmer who prematurely optimizes everything, not getting any actual work done.
"Premature optimization" is one of those idiotic terms strewn about by OOP cult members. The irony is that actual code optimization is an extremely rare skillset requiring strong knowledge of assembly that very few people possess anymore. It utilizes tools such as SIMD and, importantly, organizing the data and program architecture in a way that can take full advantage of each CPU clock cycle. The notion that this takes place "prematurely", as if someone is custom writing hand rolled assembly instead of doing other work, essentially
never happens.
No, what OOP retards are talking about when they say "Premature optimization is bad", is actually, "pay absolutely no attention to performance at any stage of the project". They will then claim afterwards, "see, the
real bottleneck is
here, and optimizing code in any other section of the code base would have been
premature".
What the retards like the guy I'm replying to fail to understand, however, is that if every part of your shit program runs terribly, then most of it won't even stand out from the rest as a bottleneck. They end up optimizing (more like un-shittifying) the extremely terrible parts of the code base, but the bar is so low anyway that it's still a laggy piece of shit anyway.
And because they paid
zero attention to performance the entire project, now all of a sudden the code base is way too big and far too complicated to
actually optimize.
No one writing performance code in data oriented design "prematurely optimizes". That's an idiotic notion. In reality, good programmers structure their entire programs in intelligent ways from the very start. It's not about optimizing, it's about
NOT doing the
opposite of optimizing.
honestly i believe if arrays werent a syntax sugar over a pointer but their own object/abstraction they would start at one, since in mathematics first element of something is denoted using a "1" not "0"
but it does make math a little bit wonky, for example taking a mod of something would require adding a one and such
....you realize you can already do this, right? Just call it a FagArray, store the length of the array as the first element and start at 1 while iterating.
Statements like this are exactly why students need to be taught with C. You're so lost in the esoteric bullshit side of programming that you have no idea how to do anything on the low level.