Can we move `go-gl/examples` to `go-gl-legacy/examples`, and then carefully extract 1-2 working, up to date, maintained examples back to `go-gl/examples`.
In fact, I've already done so, please take a look at:
It's a start. The README can be elaborated. Code can (and will be) cleaned up even more. But it works, it compiles, and has a green Travis passing test.
Motivation
I was reading
https://sourcegraph.com/blog/live/gopherconindia/112025389257 today (from
https://twitter.com/srcgraph/status/570692110430683136), and when I saw the OpenGL section, my heart sank seeing old, GLFW 3.0 using code that doesn't even compile being shown (the source is coming from current go-gl/examples repo). After all the work we've put in in gl and glfw libraries, this is a really poor presentation. I can imagine someone seeing that for the first time being excited, trying to download/find example and seeing the current examples repo, which has lots of things, and they don't even compile.
In the case of examples, I think quality is much more important than quantity. For a beginner, seeing more examples that are poorly organized is a bad thing because they'll not know where to start, and it will appear more complex. For us the developers/maintainers, seeing that many examples that are poorly maintained... it's hard to keep them maintained and full of high quality latest code.
That's why I propose we do the reboot, move current examples repo out of the way, and start with a few simple, working, high quality code examples (and be selective about what we accept into the repo, it shouldn't just be a dump of code without expectation of keeping it updated).
The current go-gl/examples repo was last updated on Sep 7, 2014 and I don't think it will get better, which is why I think doing this is the best course of action (and can be done today).