Closed strongd closed 12 years ago
Yeah, earlier in the semester Matt swore singletons were against all programming patterns/religions, but during our discussion in last class, he did seem to suggest using a singleton.
I don't see a point in even instancing the projecting controller since it is 100% stateless. I'd just make all the methods static.
I made it a provider, under a edu.unlv.kilo.provider package, if that means anything.
It means this issue is solved! Yaaaaaay...
I'm curious to know if I should or should not make the Projection entity a singleton. When we discussed our project during last class, it seemed like Projection would be made as a singleton. But didn't Matt say he disliked singletons? I can't remember what he said.
I'm just not sure how making it a singleton would help with anything, and I'd like some thoughts on it.