All Questions
Tagged with declarative-programming functional-programming
7 questions
3
votes
3
answers
233
views
Precisely define "what to solve" and "how to solve" corollary in functional and imperative programming respectively
I am not sure if I ever clearly understood standard corollary "what to solve" and "how to solve" used to point out difference between functional (declarative) and imperative programming paradigm ...
-1
votes
2
answers
176
views
Are executable requirements the most advanced form of declarative code?
The more declarative code is, the less explicit technical details it contains and the closer it gets to requirements expressed in domain language.
In the extreme case, there is no more difference ...
11
votes
3
answers
5k
views
Do functional programming languages disallow side effects?
According to Wikipedia, Functional programming languages, that are Declarative, they disallow side effects. Declarative programming in general, attempts to minimize or eliminate side effects.
Also, ...
3
votes
3
answers
583
views
Declarative programming for deterministic real time control
Let's say you want control a motor in real time. Normally you would use a microcontroller or PC with e.g. c-programming language. So you would use an imperative approach. You tell the microcontroller ...
6
votes
2
answers
4k
views
Is declarative programming overrated? [closed]
I've been programming for years with primarily-imperative languages (C++, C#, javascript, python), but have recently experimented with some functional langauges (Lisp, Haskell) and was excited to try ...
18
votes
5
answers
7k
views
What makes functional programming languages declarative as opposed to Imperative?
On many articles, describing the benefits of functional programming, I have seen functional programming languages, such as Haskell, ML, Scala or Clojure, referred to as "declarative languages" ...
2
votes
1
answer
1k
views
Is Clojure a 3GL or a 4GL?
A bit of background (in case I'm mistaken)...
I think I understand that (it's an oversimplification):
manually entering codes into memory (or on a punchcard) is "first generation language"
using ...