Current organization:
- GLUT examples use the old immediate API, which was deprecated in 4.0 (outside of non-compatibility profile) and so you should not use it anymore. Most people consider GLFW a better alternative to GLUT.
- GLFW examples use the better retained mode. Why it is better: http://stackoverflow.com/questions/6733934/what-does-immediate-mode-mean-in-opengl