Feb 16, 2025
Obviously, C# supports mutating, since you're using it in your example. However, many senior devs would suggest _not_ mutating, but instead returning a new List with new orders.
Senior developers should not just be spotting obvious mistakes, but should be mentoring others, even other seniors, in best practices and suggesting design improvements.