paradigms Questions
5
I was going through an introduction to Smalltalk.
In C++, the functions declared inside a class can be called by objects of that class, and similarly in Smalltalk a keyword, termed as message, is w...
9
Solved
I came across this article discussing why the double-check locking paradigm is broken in Java. Is the paradigm valid for .NET (in particular, C#), if variables are declared volatile?
Spermatophyte asked 27/12, 2008 at 11:5
9
Solved
I understand object oriented programming, and have been writing OO programs for a long time. People seem to talk about aspect-oriented programming, but I've never really learned what it is or how t...
8
Solved
Like most developers here and in the entire world, I have been developing software systems using object-oriented programming (OOP) techniques for many years. So when I read that aspect-oriented pro...
11
Solved
Whenever I ask people about the difference between an API and a library, I get different opinions. Some give this kind of definition, saying that an API is a spec and a library is an implementation...
Cuspidor asked 9/9, 2010 at 16:45
22
Solved
I have been searching the web looking for a definition for declarative and imperative programming that would shed some light for me. However, the language used at some of the resources that I have ...
Kowtko asked 23/11, 2009 at 17:24
6
Solved
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
Catherine asked 3/12, 2010 at 15:30
10
If functional programming languages cannot save any state, how do they do simple stuff like reading input from a user? How do they "store" the input (or store any data for that matter?)
For exampl...
Presume asked 1/5, 2010 at 19:30
1
Solved
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 behavi...
Filberto asked 9/10, 2021 at 14:39
1
For writing a very large program, I see no way to alleviate having to write the same code for each struct that uses a certain shared behaviour.
For example, Dog may "bark":
struct Dog {
...
Sixtyfourmo asked 12/8, 2021 at 11:9
6
Is there any newer language than Prolog specialized for logical programming?
Arbor asked 16/1, 2011 at 16:7
2
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...
Febrific asked 11/2, 2017 at 10:34
1
Solved
I understand that some languages combine elements for many different paradigms in programming. I'm told that Fortran is an example of a Functional language, however I'm just a little confused as to...
Fluidize asked 27/1, 2020 at 0:32
1
Solved
In Rust it is encouraged to shadow variables:
But wait, doesn’t the program already have a variable named guess? It
does, but Rust allows us to shadow the previous value of guess with a
...
4
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 prog...
Uhlan asked 28/2, 2014 at 17:19
17
Solved
I've read the Wikipedia articles for both procedural programming and functional programming, but I'm still slightly confused. Could someone boil it down to the core?
Serotonin asked 22/8, 2008 at 19:29
10
Solved
Spending my time on high level languages it suddenly occurred to me that I did not know the difference between a Character Array and a String. I think they are the same thing but not sure. Is there...
P asked 17/2, 2010 at 19:49
2
Solved
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 ...
2
Solved
I came across a function where it had a setTimeout inside with a timeout growing exponentially (timeout *= 2).
let timeout = 10000
function foo() {
// doSomething without breaking, returning
se...
Ressieressler asked 4/6, 2018 at 8:43
11
Solved
AOP is an interesting programming paradigm in my opinion. However, there haven't been discussions about it yet here on stackoverflow (at least I couldn't find them). What do you think about it in g...
5
Solved
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 ...
Gabbie asked 8/11, 2013 at 13:22
2
Solved
I have been doing some research into reactive programming recently and I'm finding it hard to find a good description of the difference between Reactive and Functional-Reactive.
Is it simply that...
Lachance asked 22/3, 2011 at 0:32
10
Solved
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...
Stockmon asked 16/10, 2010 at 15:59
2
Solved
I've been reading about functional programming and its concepts. It's clear to me that when working in big projects you always need to mix (at some adequate level) multiple paradigms such as OO and...
Harleigh asked 19/7, 2017 at 16:51
3
Solved
What are the advantages/disadvantages of the two techniques in comparison ? And more importantly: Why and when should one be used over the other ? Is it just a matter of personal taste/preference ?...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.