A fundamental style of computer programming.

learn more… | top users | synonyms

25
votes
11answers
5k views

What is Object Oriented Programming ill-suited for?

In Martin Fowler's book Refactoring, Fowler speaks of how when developers learn something new, they don't consider when it's inappropriate for the job: Ten years ago it was like that with objects. ...
43
votes
12answers
6k views

Why isn't functional programming more popular in the industry? Does it catch on now? [closed]

During my four years at university we have been using much functional programming in several functional programming languages. But I have also used much object oriented programming to, and in fact I ...
17
votes
5answers
4k views

For what common problems is functional programming not a good fit?

Functional programming is a declarative paradigm. One of the strenghts with FP is that side-effects are avoided. It's said that for some problems FP isn't a good fit. For what common problems isn't ...
7
votes
4answers
527 views

What's a good resource for learning about all the different programming paradigms? [closed]

I want to improve my programming knowledge - filling in holes and working out what I don't know - and a good way to do that seems to be understanding all the different programming paradigms that are ...
40
votes
14answers
3k views

Why the current enthusiasm for Functional Programming? [closed]

I've been hearing a lot of enthusiasm about functional programming languages lately, with regards to Scala, Clojure, and F#. I've recently started studying Haskell, to learn the FP paradigm. I love ...
16
votes
11answers
3k views

is OOP the dominant programming model in real world?

Objects Never? Well, Hardly Ever In the VIEWPOINT section of Communications of The ACM, I found an interesting article entitled "Objects Never? Well, Hardly Ever". It’s a radically different ...
5
votes
4answers
1k views

What is the precise definition of programming paradigm?

Wikipedia defines programming paradigm thus: a fundamental style of computer programming which is echoed in the descriptive text of the paradigms tag on this site. I find this a disappointing ...
41
votes
3answers
8k views

What's The Difference Between Imperative, Procedural and Structured Programming?

By researching around (books, Wikipedia, similar questions on SE, etc) I came to understand that Imperative programming is one of the major programming paradigms, where you describe a series of ...
30
votes
6answers
12k views

Haskell AND Lisp vs. Haskell OR Lisp

I currently code with C, C++, and Python. I'm wanting to pick up a functional programming language, and right now I'm leaning toward Haskell. I do NOT want to start a "Haskell vs Lisp" war here; what ...
16
votes
6answers
4k views

Is it a good idea to do UI 100% in Javascript and provide data through an API?

My primary day job is making HTML applications. With that I mean internally used CRUD-type applications with lots of editable gridviews, textboxes, dropdowns, etc. We're currently using ASP.NET ...
17
votes
4answers
1k views

Learning Each Type of Programming Language

I have heard several times that every programmer should learn one of each type of language. Now, this is not necessarily true, but I believe it is a good idea. I've learned a Procedural Language ...
24
votes
1answer
1k 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 ...
9
votes
7answers
819 views

Empirical evidence for choice of programming paradigm to address a problem

The C2 wiki has a discussion of Empirical Evidence for Object-Oriented Programming that basically concludes there is none beyond appeal to authority. This was last edited in 2008. Discussion here ...
11
votes
4answers
948 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 ...
33
votes
1answer
2k views

What is tabular programming?

The Falcon programming language advertises itself as supporting tabular programming: Falcon provides six integrated programming paradigms: procedural, object oriented, prototype oriented, ...
10
votes
1answer
2k views

What are the differences between aspect-oriented, subject-oriented, and role-oriented programming?

I know there are many papers describing these three paradigms but I'm looking for a schematic explanation. There are a few very good descriptions of aspect-oriented programming on here so I'm asking ...
7
votes
5answers
2k views

Can you learn functional programming in C?

As a result of the comment discussion here, I wonder whether you can learn Functional Programming in C?
15
votes
6answers
497 views

Should all programmers learn at least one very-high-level language? [closed]

One mandatory course I took in uni was about functional and logical programming languages (Haskell and Prolog). It was mildly interesting, and most I talked to showed even less interest to the course ...
12
votes
7answers
890 views

Functional as a first language

What are some pros and cons to learning functional programming before other paradigms?
9
votes
4answers
466 views

Why are we still using the DOM in the browser rather than a desktop paradigm

From my understanding, the web interface was developed to use HTML because at the time it wasn't possible to simulate a desktop style application in the browser such as how Silverlight and Flash work, ...
9
votes
2answers
618 views

Paradigms fit for UI programming

This is a more specific question (or actually two, but they are related) coming from the comments of OOP technology death where someone stated that OOP is not the right paradigm for GUI programming. ...
9
votes
3answers
1k views

Why (not) logic programming?

I have not yet heard about any uses of a logical programming language (such as Prolog) in the software industry, nor do I know of usage of it in hobby programming or open source projects. It (Prolog) ...
3
votes
1answer
1k 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, e some other that I may have forgotten. Still, the paradigm I'm most familiar to is OOP. I have always thought ...
3
votes
4answers
649 views

Introducing functional programming constructs in non-functional programming languages

This question has been going through my mind quite a lot lately and since I haven't found a convincing answer to it I would like to know if other users of this site have thought about it as well. In ...