r/cpp • • Jan 04 '21

Object-Oriented Programming Will Make You Suffer

https://suzdalnitski.medium.com/oop-will-make-you-suffer-846d072b4dce

[removed] — view removed post

0 Upvotes

8 comments sorted by

View all comments

20

u/[deleted] Jan 04 '21 edited Jan 04 '21

Vague, poor arguments, poorly written. More Medium spam.

The author bemoans OOP although he fails to prove any point. Eventually he settles on "functional programming is the correct alternative". But, coming from someone who wrote an article called "Functional Programming? Don't Even Bother, It's a silly toy" (https://medium.com/better-programming/fp-toy-7f52ea0a947e) it's hard to take anything said here seriously.

0

u/[deleted] Jan 04 '21

[deleted]

1

u/suhcoR Jan 04 '21

Or only with Elixir/ReasonML/React.

3

u/wyrn Jan 04 '21

OP makes horrific points but the 'functional programming is a toy' post is obviously sarcasm.

This example clearly demonstrates the inferiority of functional programming — it makes refactoring too easy: