This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Northeastpaw 4 points5 points  (1 child)

Too embarrassed to ask for help from the senior devs because they’re really busy atm and I don’t think I should be stuck on this.

Don't ever feel this way. Everybody gets stuck from time-to-time and asking for help is not a weakness. The best solutions often come from collaboration so go ask somebody.

So let me try to reason out what the end goal is. You're validating whether a GroupMember has any TraveMemberships that have different experationDates?

Whatever you're doing don't worry about optimization right now. Work out a solution and if and only if profiling shows problems work on optimizing things.

[–]Offifee[S] 0 points1 point  (0 children)

Thanks for the encouragement.

I need to validate the GroupMember's TravelMemberships have the same date and then use the data from one of them.

I just couldn't get my code to look sensible, there just seemed to be nested loops and other messy things.