declarative-programming Questions

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 ...

7

I happen to look into Apple's new Combine framework, where I see two things PassthroughSubject<String, Failure> CurrentValueSubject<String, Failure> Can someone explain to me what i...

6

Solved

I have been too used to Imperative Programming which is the usual way of telling the computer to perform step by step the procedure to get the final result. On the other hand, declarative programmi...

7

Solved

The expectation is derive 3 lists itemIsBoth, aItems, bItems from the input list items. How to convert code like below to functional style? (I understand this code is clear enough in an imperative ...

2

Solved

I am aware that declarative programming just passes the input and expects the output without stating the procedure how it is done. In functional programming, is a programming paradigm, which takes ...
Panicle asked 12/7, 2017 at 9:50

7

Solved

I'm learning a lot more about Java 8 and its functional capabilities, and I wanted to do some more practice with it. Say, for example, I have the following imperative code which is for wrapping a c...

5

It is quite confusing to know difference between Imperative and Declarative programming can any one explain difference between both in real world terms? Kindly clarify whether C is an Imperative o...
Hackman asked 24/2, 2014 at 4:5

2

Solved

Why doesn't the Flex framework's mxml language support a constructor for components or accept constructor arguments for components? It's as far as I know not possible to declare an ActionScript obj...
Music asked 22/9, 2011 at 5:33

5

I was reading an article on Declarative Programming Languages. If I don't understand the qualities of this type/paradigm of programming languages and it's contrast to Imperative languages, s...

3

Solved

If we've learned anything from HTML/CSS it's that, declarative languages (like XML) do a good job of describing User Interfaces because: It's easy to build code preprocessors that can templ...

8

Solved

What is the difference between the declarative and procedural programming paradigms? Could you please provide some examples? What other programming paradigms exist?
Gefell asked 25/10, 2009 at 2:45
1

© 2022 - 2024 — McMap. All rights reserved.