Questions tagged [paradigms]

A tag for questions relating to the world view underlying a particular software methodology or theory.

A tag for questions relating to the world view underlying a particular software methodology or theory.

A paradigm is a model, method or pattern. In programming different methods of writing programs are called , examples are and functional programming.

More information on paradigms

291 questions
15
votes
12 answers

Significant Challengers to OOP

From what I understand, OOP is the most commonly used paradigm for large scale projects. I also know that some smaller subsets of big systems use other paradigms (e.g. SQL, which is declarative), and I also realize that at lower levels of computing…
JoeCool
  • 4,392
  • 11
  • 50
  • 66
14
votes
4 answers

What is the relation of 'Event Driven' and 'Object Oriented' programming?

These days, I hear almost everywhere about 'event driven' programming. Wikipedia says: In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse…
Mohsen Kamrani
  • 7,177
  • 5
  • 42
  • 66
14
votes
5 answers

Is Reactive Programming bounded to Functional programming?

I'd like to know how Reactive Programming is tied to Functional-Programming. Most papers refer "Reactive Programming" as "Functional Reactive Programming". Does Reactive Programming can be implemented outside Functional Programming? Is it easier to…
14
votes
5 answers

AOP... Should I unlearn OOP?

I have skimmed the online documentation, read the wiki entry, the posts and the blogs, but I'm still puzzled. What is, in a nutshell, Aspect Oriented Programming ? Is it simply better then Object Oriented Programming ? Should I unlearn OOP ? If…
Philippe Carriere
  • 3,712
  • 4
  • 25
  • 46
13
votes
11 answers

Are there any programming paradigms not based around manipulating variables and functions?

Virtually every language I know of is basically a variation on a theme: you create variables and functions, then manipulate them using conditionals and other constructs. I understand Functional Programming and the like are somewhat different from…
bennybdbc
  • 1,425
  • 3
  • 15
  • 24
13
votes
3 answers

Why use ">" in CSS?

If I want to add styling to all p elements inside of a div, why should I use div > p{ *style here* } as opposed to just div p{ *style here* } furthermore, if I want to use a pseudo class, why would I then choose to use ">" div >…
kjh
  • 3,407
  • 8
  • 42
  • 79
12
votes
4 answers

Can you represent the same example using Procedural, Functional, Logic and OO programming Languages?

Can anyone please provide me with an example that can help me to understand Procedural, functional, Logic and Object Oriented programming models side by side by using nearly same example-problem. Please give me example code-snippets of the somewhat…
user366312
  • 16,949
  • 65
  • 235
  • 452
12
votes
6 answers

C# Paradigms: Side effects on Lists

I am trying to evolve my understanding of side effects and how they should be controlled and applied. In the following List of flights, I want to set a property of each flight satisfying a conditions: IEnumerable fResults =…
Pierre
  • 1,607
  • 3
  • 21
  • 33
12
votes
2 answers

Data Driven vs Event Driven model/architecture?

I heard the terms Data Driven and Event Driven model from different folks in past. I did google but these terms are still vague to me as both of them looks similar to me Data driven programming is a programming model where the data itself controls…
emilly
  • 10,060
  • 33
  • 97
  • 172
12
votes
1 answer

Any research on maintainability of "guard statement" vs. "single function exit point" paradigm available?

I'm wondering if there has been any research (both casual and robust) on the maintainability of projects that use the "guard statement" paradigm vs. the "single function exit point" paradigm? Guard statement example (in C#): string…
jball
  • 24,791
  • 9
  • 70
  • 92
12
votes
1 answer

How can Domain driven design be combined with aspect oriented programming?

I'm doing research and one point I want to cover is "What is the relationship between Domain-driven Design and Aspect oriented programming?" I know that a main principle in DDD is separation of concerns and I understand that. What I'm not really…
anthares
  • 11,070
  • 4
  • 41
  • 61
12
votes
8 answers

What programming language paradigm fits which job?

As far as I know (not much I'll admit), the currently popular programming paradigms are Object Oriented (Java, C#, Ruby) vs functional (F#). As someone who is mostly familiar with the first paradigm, I have several questions: Can a programmer…
echoblaze
  • 11,176
  • 13
  • 44
  • 49
11
votes
6 answers

Can you have too much of “dynamic” in dynamic languages?

In last few months I have been making a transition from Java to Groovy and I can appreciate many of the benefits it brings: less code, closures, builders, MOP that in the end makes framework like Grails possible, ease with mocking when writing…
Dan
  • 11,077
  • 20
  • 84
  • 119
11
votes
13 answers

How can I start designing my program on paper without over engineering things?

I'm interested in starting to properly design my software on paper before I ever start coding. What is the standard approach for this? I'm thinking something along the lines of UML but I feel that it's a bit overkill for a one-man project. What are…
Sergio Tapia
  • 40,006
  • 76
  • 183
  • 254
10
votes
11 answers

Does the advent of MultiCore architectures affect me as a software developer?

As a software developer dealing mostly with high-level programming languages I'm not sure what I can do to appropriately pay attention to the upcoming omni-presence of multicore computers. I write mostly ordinary and non-demanding applications,…
prinzdezibel
  • 11,029
  • 17
  • 55
  • 62