Let's say I use SDL (1.2 or 2.0) in my program to handle events, should I use callbacks or the good old giant switch statement?
Name:
Anonymous2014-06-22 14:13
>>45 Everything is different... as programming an e-mail server is not the same as programming a word processor. Every ``kind of programming'' is different from each other. Even between different game genres. Check out the design patterns of that e-book and you will understand.