Tags: #opengl #renderer #design
This design matches closely the idea of “Model-view-viewmodel” aka. “MVVM”
https://nlguillemot.wordpress.com/2016/11/18/opengl-renderer-design/
This design matches closely the idea of “Model-view-viewmodel” aka. “MVVM”
https://nlguillemot.wordpress.com/2016/11/18/opengl-renderer-design/
nlguillemot
OpenGL Renderer Design
Lately I’ve been writing lots of OpenGL programs for course projects and for-fun rendering side-projects. I’ve started to notice an overall design that works pretty well for these kinds…
Tags: #policy #design
"If done properly, a library author can accommodate all use cases with a single implementation..."
http://foonathan.net/blog/2017/02/08/policy-based-design-problem.html
"If done properly, a library author can accommodate all use cases with a single implementation..."
http://foonathan.net/blog/2017/02/08/policy-based-design-problem.html
foonathan.net
The problem with policy-based design
Policy-based design is great: It provides a lot of flexibility to the users of a class. They can use the exact policy for their use. However, it has a big problem: it creates a lot of different and incompatible types. This post explains it in more detail…
Tags: #metaprogramming #design #patterns
http://odinthenerd.blogspot.it/2017/03/tradeoffs-of-tmp-mpl-design.html
http://odinthenerd.blogspot.it/2017/03/tradeoffs-of-tmp-mpl-design.html
odinthenerd.blogspot.co.uk
Tradeoffs of TMP MPL design
I would like to take a break from my design patterns series to talk about some of the tradeoffs when designing a template metaprogramming li...