Skip to main content

Questions tagged [paradigms]

A fundamental style of computer programming.

15 votes
9 answers
6k views

Note: I'm not looking for opinions on whether the authors of the article below are right or wrong. Mainly I'm looking for the exact definition of what they mean by getters, especially since I know ...
Ced's user avatar
  • 609
-1 votes
1 answer
125 views

Reading Peter Van Roy's "Paradigms for Dummies", I am a bit stuck with the second footnote. Van Roy presents a graph depicting paradigms with different combinations of attributes for state. ...
Derek C.'s user avatar
  • 617
16 votes
7 answers
9k views

From my understanding, in declarative programming, programmer only need to define the end result, but not how to compute it. But for execute that said function, the function must be pre-defined by the ...
Loc's user avatar
  • 295
3 votes
5 answers
1k views

On Wikipedia, the article Programming paradigms defines declarative as a paradigm in which the programmer merely declares properties of the desired result, but not how to compute it; imperative as a ...
Géry Ogam's user avatar
1 vote
2 answers
397 views

I have been creating new ASP.Net web apps for my workplace intranet (it is a closed system, not accessible to customers) and also re-creating some existing Windows programs as web applications. One ...
BreakingGnus's user avatar
1 vote
2 answers
457 views

I know this is a very basic topic, but I'm curious why an abstraction in programming is always defined as a simplification/hiding of some functionality. Let's say I wrote a set of functions that let ...
Wojtek Wencel's user avatar
8 votes
1 answer
704 views

So I'm aware there's some degree of timing-based logic in existing programming languages, like threads and the sleep() function (and derivatives thereof), as well as events / delegates. However, I was ...
Emerald47890's user avatar
6 votes
3 answers
1k views

Before the advent of OOP, how were systems modeled in other paradigms of Programming. Obviously, software programs existed prior to 1970's and they interacted with people and where used in crucial ...
LekeOpe's user avatar
  • 271
0 votes
4 answers
4k views

Procedural Paradigm according to Wikipedia: Procedural programming is a programming paradigm, derived from structured programming, based on the concept of the procedure call. Procedures, also known ...
LekeOpe's user avatar
  • 271
9 votes
3 answers
612 views

Dependency Injection forbids casual use of new. It favors good old reference passing. It says to put new as high up the call stack as possible. Convention over Configuration says the common path ...
candied_orange's user avatar
2 votes
2 answers
296 views

According to What Wikipedia says about Structured Programming Paradigm The following qualifies a language to be called Structured "Sequence"; ordered statements or subroutines executed in sequence. "...
LekeOpe's user avatar
  • 271
-2 votes
3 answers
611 views

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 ...
LekeOpe's user avatar
  • 271
1 vote
1 answer
353 views

I have different equations to compute the same quantity. For example, val = my_func(a, b, c) but also val = my_func(x, y), where my_func represents the quantity I would like to compute: it could be ...
Davide_sd's user avatar
  • 147
-1 votes
1 answer
344 views

I'm programming a telegram bot with Python and, for a number of reasons, there are no classes in the whole project, just several functions correlated to the the file where they are located. E.g., my ...
Teodoro Mendes's user avatar
1 vote
1 answer
122 views

I'm sure there's some programming paradigm to cover this case, but I can't find the correct wording for it, and therefore my Google-fu is worthless. I have a class called SimpleWorld that has methods,...
Pro Q's user avatar
  • 697

15 30 50 per page
1
2 3 4 5
7