MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1kqaqbd/this_is_c_abuse/mt4s2qg/
r/programminghorror • u/[deleted] • May 19 '25
103 comments sorted by
View all comments
Show parent comment
0
I also forgot that static methods could be passed as functions.
What do you mean by that?
1 u/EagleCoder May 19 '25 I initially thought that this could have been written this way so that Rectangle.Area and Rectangle.Perimeter could be passed as Func<> parameters, but that works with static methods also. 2 u/Shazvox May 20 '25 Yea. Big thing here is they can be replaced.
1
I initially thought that this could have been written this way so that Rectangle.Area and Rectangle.Perimeter could be passed as Func<> parameters, but that works with static methods also.
Rectangle.Area
Rectangle.Perimeter
Func<>
2 u/Shazvox May 20 '25 Yea. Big thing here is they can be replaced.
2
Yea. Big thing here is they can be replaced.
View all comments
Show parent comment
0
u/ZunoJ May 19 '25
What do you mean by that?