> Finally, the best programmers don't have 'feel' for the way in which their code is mapped onto machine code and spend their time optimising code that offends them.
They do, precisely because
> The best programmers use profilers and tools that tell them exactly where the bottlenecks in their code and focus their time optimising these
and thus they develop the `feel' (having some idea what happens at the deeper levels helps in the process). In fact, you don't develop any `feel' after being exposed to the same patterns again and again you can hardly call yourself a programmer.
Dave Jewell wrote:
> I did a little googling and it turns out that a lot of folks do use the 'strstr' technique to check OpenGL extensions.
A little googling can find awful lots of people making all kinds of mistakes. Your `strstr technique' is taught in programming classes -- as an example of common programming errors. If the goal was to make performance-conscious programmers look like complete idiots, you can congratulate yourself.