News for hackers. Stuff that matters.
Re:Minimal OpenGL 3.3 Core Profile Demo by benihana on Sunday June 07, 2015 @11:54PM (#9677250)
This is great! I last looked at OpenGL on the desktop a decade ago and it was tedious. GLFW looks awesome. But looking at the example code for it, I saw this:

    if (!glfwInit())
        return -1;
Why do this? Is there some kind of amazing thing in the C/C++ world that doing this unlocks? It just seems like an inconsistent, dangerous accident waiting to happen.
Re:Minimal OpenGL 3.3 Core Profile Demo by yoklov on Monday June 08, 2015 @12:57AM (#9677299)
Uh, what exactly about this is questionable?

Only think I can think you could mean is the lack of curly braces, but that's so common it can't be it.

EDIT: Unrelated sidenote: GLFW doesn't really make OpenGL itself any less tedious, only setting it up.