3 ms·
For web-based programming, object oriented programming is simply ridiculous in all but a small number of cases. Agreed. Functional programming seems to make a
by andreyf 18y ago
For web-based programming, object oriented programming is simply ridiculous in all but a small number of cases.
Agreed. Functional programming seems to make a lot more sense. Fundamentally, isn't a web server just a function f: url -> html? Sure, databases and sessions complicate things, but even in these cases, functional structures seem a lot more elegant (in a mathematical sense) than OOP ones.
- swombat 18y agoFor any programming, OOP brings some advantages. What you might be decrying is over-the-top abuse of OOP patterns. Certainly, for most programming, abuse of design patterns is unwarranted. However, taking, as an example, Ruby, which is both a functional and OOP language, the OOP features make the language a lot nicer. Anyway, that article is completely daft. And I refuse to take any advice about programming from someone who spells "linear" as "linier". Shame there's no down-mod button.