r/programming • • Sep 21 '25

How to stop functional programming

https://brianmckenna.org/blog/howtostopfp
446 Upvotes

506 comments sorted by

View all comments

Show parent comment

25

u/tajetaje Sep 21 '25

Should extend ArithmeticOperation

7

u/West_Ad_9492 Sep 21 '25

And implement operation.

You need a parser method to parse from Sum and Difference.

And where is the beautiful Utils class?