4 ms·
Ah, I see. You could do that within a purely functional language (via monads), but given how locked to C and the imperative paradigm OpenGL is, it would make s
by TazeTSchnitzel 11y ago
Ah, I see.
You could do that within a purely functional language (via monads), but given how locked to C and the imperative paradigm OpenGL is, it would make sense to simply write that in C, yes.
- davexunit 11y agoI think monads are orthogonal to this issue. Using a monad would provide a pure interface around the imperative stuff, but the imperative stuff would still be there. Someone's gotta write the gross stuff so that we can build our pleasant, pure world on top of it.