OpenGL is set up to optimize for all those things, instead of optimizing for the learner/simple case.
It's definitely a valid approach, but it means for simple cases, you're copy & pasting a lot of boilerplate for performance, control, and a slew of other things you don't need.
You have to learn/paste a lot before you get a little reward.