New answers tagged

0

Should I add redundant code now just in case it may be needed in the future? You should not add redundant code at any time. You should not add code that is only needed in the future. You should make sure that your code behaves well no matter what happens. The definition of "behave well" is up to your needs. One technique I like to use is "paranoia" ...


-1

There are lots of over-complicated answers here. You probably asked this question cause you didn't feel right about that piece code but wasn't sure why or how to fix it. So my answer is that the problem is very likely in the code structure (as always). First, the method header: public static CalendarRow AssignAppointmentToRow(Appointment app, ...



Top 50 recent answers are included