OOP just feel more eloquent to look at personally.
Struct.function(arg1, arg2, arg3);
feels more atheistically pleasing to my mental model of programming then function(struct, arg1, arg2, arg3);
This means more complex function definitions. While I can define multiple .close(); functions, that only operate in relation to their connection type I.E.: tcpConnection, serialConnection can each call their own close(). In FP I have to actually state either: fn close<T>(&:<T>){
if(<T>::isType(tcpConnection)){
tcpConnectionClose(<T>);
}else if(<T>::isType(serialConnection)){
serialConnectionClose(<T>);
}else{
//throw exception
}
}
Or I just make primitive calls to each connection type tcpConnectionClose(*);
This just doesn't stroke me the right way. It feels like bulky, over necessary coding when you take into account objects exist. I'm interested in FP, I feel it has to offer something for people to jump on it, but I just don't get it.