Oop vs fp

Object Oriented Programming or Functional Programming ?

Other urls found in this thread:

tour.golang.org
golang-book.com
twitter.com/SFWRedditGifs

multi paradigm

OOP with multi paradigm

nobody uses functional programming
so kill yourself

I use functional programming thus YOU should go commit sudoku with a butter knife.

OOP if you want a job

Yes but best jobs are fp.

>.gif

came to post this

procedural

Programmation Orientée Objet

Objektorienterad programmering

Mine's better. I'll give you a hint...

POO

Objective-oriented functions

Olio-ohjelmointi :^)

>Olio-ohjelmointi

meme language. here have a few k's kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

You're just jealous because creature programming sounds so much cooler than OOP.

Functional obviously, POOP sucks.

But you'll come to the same conclusions, you just need some more experience

The problem is most OOP languages are shittily designed, and are permeated by beginner programmers and spaghetti code. Java, C++, C#, etc.

Functional languages are more academic and attract better programmers, so the bar is higher.

A well-designed OOP language (e.g. Ruby, Smalltalk) is as much of a joy to program in as any functional language.

None of those. Learn Go (Golang):
tour.golang.org
golang-book.com

A golet, HAHAH

None of those. Gulag.

these, /thread

actually it is very useful if you know your number theory because Haskell (for example) is meant to interpret recurrences the way math books interpret them

>using a language that restricts you to a single paradigm

OOP, but Smalltalk's OOP not Java's.

Think and plan functional.
Write functional with an underlying procedural.

this

short for POO ...I am sure you know what follows next

OOP is just functionnal where every function is curried with a datastructure.

>POO
It's fun because in Spanish we say "Programación Orientada a Objectos".

Give lambdas to OOP language, developers love it.

Give objects to FP language, developers don't give a fuck.

There is no debate, OOP is doomed.

What if both have their own pros and cons?

The utility of OOP is directly proportional to how much of a shitshow your project is. It allows people with no discipline or forethought to participate in large projects, but it has no "pros" in the general sense.