Don't feel guilty, we've all sure had our share implementing messy conditionals! The point I tried to make is much more about keeping the business rules as clear as possible than about whether or not we should use ifs, but I do think lots of ifs will most certainly get in the way.
I will try a different approach for the next post and see how it goes. It's been a very interesting discussion indeed, thanks for your input!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Amanda, thanks for your feedback!
Don't feel guilty, we've all sure had our share implementing messy conditionals! The point I tried to make is much more about keeping the business rules as clear as possible than about whether or not we should use ifs, but I do think lots of ifs will most certainly get in the way.
I will try a different approach for the next post and see how it goes. It's been a very interesting discussion indeed, thanks for your input!