Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 60357

A fundamental style of computer programming.

9 votes

Is assignment declarative or imperative?

Declarative vs imperative programming cannot always be distinguished on a syntactical level. To a large part, this is more about different programming styles: a declarative program will mostly describ …
amon's user avatar
  • 135k
8 votes
Accepted

What is the programming paradigm when I just use functions in a file to organize my program?

The programming paradigm that organizes the software into functions is called procedural programming. For example, C is a procedural programming language. Most dynamic languages like JS or Python can …
amon's user avatar
  • 135k
6 votes

Did GO embrace any language construct introduced in Java?

No, Go does not show any particular influence from Java. Go and Java do share similar goals, but took different paths to achieve these goals. The Go designers are of course aware of Java, C#, C++, Jav …
amon's user avatar
  • 135k
3 votes

The dilemma of implementing virtual inheritance

Virtual inheritance as used by some C++ implementations only makes sense under fairly specific constraints: Classes have a fixed object layout that is known at compile-time. An instance can be upcas …
amon's user avatar
  • 135k
29 votes
Accepted

Do functional programming languages disallow side effects?

Functional programming includes many different techniques. Some techniques are fine with side effects. But one important aspect is equational reasoning: If I call a function on the same value, I alway …
amon's user avatar
  • 135k