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
3
votes
2 answers

What Frameworks represent a paradigm different than the MVC?

We hear a lot about frameworks like Django, ROR and CodeIgniter in Python, ruby and PHP respectively, all of them represents the MVC paradigm, is there other paradigm different than MVC represented with a framework?, what's the framework name, the…
Leonardo
  • 2,484
  • 2
  • 25
  • 37
3
votes
1 answer

tkinter and GUI programming methods

Hopefully this doesn't fall under "general discussion topic", since I'd like it to be more about resolving these issues in an efficient manner than a giant debate about which general approach to GUI programming is the absolute best. So I've started…
3
votes
1 answer

How does Aspect Oriented Programming (AOP) influence code quality?

Aspect Oriented Programming (AOP) seems like an interesting concept. At first I was pretty enthusiastic about it, but as I read more and saw the use cases people were describing I grew disappointed. A lot of sites I saw, plus a presentation from the…
Paul Manta
  • 30,618
  • 31
  • 128
  • 208
3
votes
0 answers

How can I check if an algorithmic paradigm can solve a certain type of problem or can not?

Well, I know that algorithmic paradigms are the templates to create algorithms to solve certain type of computational problems. (correct me if I am wrong) But what I don't understand is, "How do I check if the algorithmic paradigm is suitable for…
3
votes
4 answers

What are the pros and cons of error handling at beginning vs. end of the method

In my programmer's experience, I have mixed error handling all the ways possible... I have created my personal style. However, I'd like to hear what you consider to be the pro and cons of error handling at the beginning vs at the end of the…
Kornelije Petak
  • 9,412
  • 15
  • 68
  • 96
3
votes
4 answers

C gotchas and mistakes for C++ programmers

If you are C programmer or C++ programmer that knows C well, can you tell me what are the most common mistakes/pattern/style that you noticed from C++ programmers? For example, do you noticed a difference between a C program written by a C…
Armando
  • 688
  • 6
  • 15
3
votes
5 answers

The act of breaking functions apart is called what?

Typically I implement classes (C#, C++) via many private functions that serve no purpose other than to separate concerns & logic for readability, maintainability, and scope. For example, if I see a function that is 100 lines long and has 3 comments…
void.pointer
  • 24,859
  • 31
  • 132
  • 243
3
votes
7 answers

Confused. Is OO inherently imperative or is is it multi-paradigm?

As I have read through stackoverflow answers and questions I am getting the impression that OO is compartmentalized to to be inherently imperative. But isn't OO just a way to compartmentalize code and data into real world Objects? If so, why would…
DouglasH
  • 1,216
  • 9
  • 12
3
votes
1 answer

Why is OOP juxaposed with Procedural Programming?

From what I understand, procedural programming is a programming paradigm whereby the state of the program is determined by procedures that handle the flow of data, such as subroutines and data-fed function calls while an object oriented program is…
Mode77
  • 991
  • 8
  • 28
3
votes
2 answers

Why is the paradigm of "direct database connection" not welcomed by the Android platform?

When I say "direct database connection", I meant to use a JDBC-alike driver to call and run a remote database query within the context of an activity, just like using an SQLite database to store the local parameters. Until I realized that I could…
lixiang
  • 1,941
  • 3
  • 20
  • 25
3
votes
1 answer

How is it possible to have a purely object-oriented language?

Java is considered an OOP language, despite it not quite being purely OOP. Java contains 8 primitives, and in an interview, James Gosling explains why: Bill Venners: Why are there primitive types in Java? Why wasn't everything just an…
EthanBar
  • 667
  • 1
  • 9
  • 24
3
votes
1 answer

Python for Algorithm Execution Visualization

I have a very interesting assignment for class of Analysis of Algorithms, which I should make a graphic comparison of a famous problem (such as the Knapsack problem) using different approaches, such as Dynamic Programming and Greedy. I wanted to…
William Studart
  • 321
  • 1
  • 3
  • 12
3
votes
9 answers

What can we learn from your most recent cataclysmic paradigm shift?

Very occasionally we go throuh a software learning experience that turns our assumptions upside down, and we view software development from a whole new perspective. The most obvious one I suspect for most of us who have been around a while was the…
dkretz
  • 37,399
  • 13
  • 80
  • 138
3
votes
4 answers

Should I hide or destroy UI elements?

I was wondering if, whenever I have a situation in which I have to hide some UI element temporarily, it is sufficient to hide it (many frameworks give this option) or I should delete the object in memory and recreate it later when needed again (with…
eugeniodepalo
  • 801
  • 1
  • 6
  • 18
3
votes
4 answers

jQuery paradigm?

It seems to me that jQuery doesn't seem to be written as an OOP framework, it seems too short, and not verbose enough for that. Am I right in thinking this and if it isn't written as OOP, then what methodology/paradigm are they using?
leeand00
  • 25,510
  • 39
  • 140
  • 297