Original Post
reuse is a software destination. so I wanna know if it is possible to get block at will. for example I have a class renderquene, it do : sort and group render object and do render. but I do a simple game NOW. it do not need sort and group logical, just set render state and render it. but I find it is hard to reuse the class renderquene, it has several class and struct for sort and group. I must get rid of these class , but I found it is more easy to write render code from new. is it my renderquene design problem? can I design a renderquene that can be reused by the two requirement? what can I do when I meet the problem again? it will often occur when you develop software.