All Questions
6 questions
-2
votes
3
answers
525
views
Do functions make Java a functional programming language? [closed]
I have been struggling to understand programming paradigms.
OOP is a paradigm with sole aim of modeling complex (real-world) systems, and it got me thinking:
is OOP the only programming paradigm ...
13
votes
6
answers
3k
views
What Functional features are worth a little OOP confusion for the benefits they bring?
After learning functional programming in Haskell and F#, the OOP paradigm seems ass-backwards with classes, interfaces, objects. Which aspects of FP can I bring to work that my co-workers can ...
54
votes
3
answers
7k
views
Why is an anemic domain model considered bad in C#/OOP, but very important in F#/FP?
In a blog post on F# for fun and profit, it says:
In a functional design, it is very important to separate behavior from
data. The data types are simple and "dumb". And then separately, you
have ...
6
votes
2
answers
8k
views
Non-OOP languages advantages and good uses
I'm a C# developer, but I also know Java, JavaScript, XSLT, a little of C and Perl, and some other that I may have forgotten. Still, the paradigm I'm most familiar with is OOP.
I have always thought ...
8
votes
4
answers
4k
views
Which paradigm to use for writing chess engine?
If you were going to write a chess game engine, what programming paradigm would you use (OOP, procedural, etc) and why whould you choose it ? By chess engine, I mean the portion of a program that ...
13
votes
4
answers
2k
views
FP and OO orthogonal?
I have heard this time and again and I am trying to understand and validate the idea that FP and OO are orthogonal.
First of all, what does it mean for 2 concepts to be orthogonal ?
FP encourages ...