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
10
votes
1 answer

Trying to understand the paradigm of React

I'm writing an article for my Uni about React and trying to understand what it's all about. On there website the section Thinking in React, they point out that the UI should be broken up in small Components. One way of doing this is to use the…
Daniel Storch
  • 979
  • 3
  • 10
  • 25
10
votes
13 answers

Practical uses of OOP

I recently had a debate with a colleague who is not a fan of OOP. What took my attention was what he said: "What's the point of doing my coding in objects? If it's reuse then I can just create a library and call whatever functions I need for…
yretuta
  • 7,963
  • 17
  • 80
  • 151
10
votes
4 answers

Programming paradigm; wondering if rewriting/refactoring is necessary

for quite some time I've been working on an application. As programming is just a hobby this project is already taking way too long, but that's besides the point. I'm now at a point where every "problem" becomes terribly difficult to solve. And I'm…
paul23
  • 8,799
  • 12
  • 66
  • 149
9
votes
8 answers

Where is MVC a bad thing?

I've been reading through a couple of questions on here and various articles on MVC and can see how it can even be applied to GUI event intensive applications like a paint app. Can anyone cite a situation where MVC might be a bad thing and its use…
joshcomley
  • 28,099
  • 24
  • 107
  • 147
8
votes
4 answers

How to mix apparently incompatible paradigms: OOP and FP?

Reading back some of my Scala code, I noticed that it is either functional or object oriented. Indeed, I have no idea on how to conciliate the no-side effects rule implied by immutable types and pure functions and the premise of OO, where methods…
8
votes
4 answers

Coming to Ocaml from Ruby, Lisp, Haskell, and Erlang

I've been reading about Ocaml's consistent speed, rapid prototyping ability, and excellent memory management, and decided to take it up. As I've already got Ruby, *lisp, Haskell, and Erlang under my belt, I'm interested specifically in what…
8
votes
2 answers

What is the difference between an algorithm and a programming model?

What is the difference between an algorithm and a programming model (or paradigm)?
boffin
  • 639
  • 2
  • 13
  • 26
7
votes
2 answers

Agent Oriented Design in the real world?

We've been learning about Agent-Oriented-Programming in my software development class, and my professor is a huge proponent of it, having worked with it his whole life. My question is about the true advantages/disadvantages of using Agents from both…
donnyton
  • 5,874
  • 9
  • 42
  • 60
7
votes
6 answers

Benefits of the "Convention over Configuration" paradigm

What are the benefits of the "Convention over Configuration" paradigm in web development? And are there cases where sticking with it don't make sense? Thanks
wassimans
  • 8,382
  • 10
  • 47
  • 58
7
votes
1 answer

Example problems for concurrent computation

There's a plethora of paradigms and methods for concurrent programming in use today. Software transactional memory, actors, shared state concurrency, tuple spaces and many, many more. What I find lacking, however, is a library of interesting test…
FloDo
  • 215
  • 1
  • 9
7
votes
3 answers

How to introduce AOP into productive software development?

I know this question has been asked before, but this was one and a half years ago, though I thought it might be the time for a re-questioning. I also recognized it might be seen as subjective, but I guess there are objective reasons for/against…
Nils Schmidt
  • 3,702
  • 6
  • 23
  • 28
7
votes
9 answers

Do you use MDA/MDD/MDSD, any kind of model-driven approach? Will it be the future?

Programming languages had several (r)evolutionary steps in their history. Some people argue that model-driven approaches will be The Next Big Thing. There are tools like openArchitectureWare, AndroMDA, Sculptor/Fornax Platform etc. that promise…
Martin Klinke
  • 7,294
  • 5
  • 42
  • 64
7
votes
4 answers

Programming Go, using Unified Modelling Language Diagrams

I have just started using Go (GoLang) and I am finding it a great language. However, after many years of UML and the Object Oriented methods, I find that modelling Go programs (Reverse engineering) is a bit problematic, in that Go Structs contain…
WeNeedAnswers
  • 4,620
  • 2
  • 32
  • 47
7
votes
2 answers

What properties must a language have to support recursion?

I was studying about recursion and I came across this question: FORTRAN implementations do not permit recursion because a. they use static allocation for variables b. they use dynamic allocation for variables c. stacks are not available on all…
samsri
  • 1,104
  • 14
  • 25
6
votes
1 answer

Something like Haskell's MultiParamTypeClasses

I am about to start learning Rust after programming in Haskell. The trait Keyword interested me however I noticed you can only refer to one type (Self). In Haskell there is a pragma for this behaviour: {-# LANGUAGE MultiParamTypeClasses #-} class…
user13507303