scootstah Posted December 28, 2011 Share Posted December 28, 2011 It's not even in a loop, so I don't know what you're getting at. I still don't understand how 100 duplicated classes is okay but 100 switch cases is not. Quote Link to comment https://forums.phpfreaks.com/topic/253856-can-have-text-in-switch/page/2/#findComment-1301723 Share on other sites More sharing options...
Adam Posted December 29, 2011 Share Posted December 29, 2011 What exactly do you have 100 switch cases against? You're doing something wrong, or should I say there's a much better way of doing it. Edit Also I work in a development team, and whatever files you're working on, the use of version control takes away of lot of those problems. Again, if you're having a lot of troubles, you're doing something wrong. Quote Link to comment https://forums.phpfreaks.com/topic/253856-can-have-text-in-switch/page/2/#findComment-1302055 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.