All Questions
2 questions
0
votes
1
answer
177
views
Is the usage of flip function a smell for bad design?
Everything is in the title, is the usage of flip function a smell for bad design ?
I'm coming from a JavaScript universe and used to work with lodash/fp or ramda.
Recently, I've written some stuff ...
3
votes
2
answers
308
views
I'm struggling with abstracting my animation code in my game using a functional style. How can I do this?
My game is a top down 2D shmup programmed in a functional style. I'm struggling with abstracting the code that is responsible for animating the projectiles. There are many types of guns with many ...