Discussion about this post

User's avatar
Frank Pfattheicher's avatar

At first glance i was impressed by this idea,

but by now i alwas see this:

public class Calculator

{

/* onSummed */ public int Sum(List<int> numbers)

{

return numbers.Sum();

}

/* onAveraged */ public int Average(List<int> numbers)

{

return (int)numbers.Average();

}

}

Expand full comment
2 more comments...

No posts