DEV Community

Discussion on: Ending the war or continuing it? Let's bring functional programming to OOP codebases

Collapse
 
trusktr profile image
Joe Pea • Edited

OOP cannot be eliminated. "OOP" is merely syntactical sugar for what would otherwise be handling "objects" in memory using pure functions. Using pure functions is more difficult and cumbersome the more complex the "object" requirements get. TLDR: OOP is a superset of functional programming, and functional programming has not gone anywhere, and most languages have syntactical sugar (f.e. classes) to take functional programming to the next level.

Collapse
 
cherryramatis profile image
Cherry Ramatis

Agreed