imperative-programming
What's the expression equivalent of the Assignment statement called?
In imperative programming, using statements, you do stuff like: a = 10 b = a * 2 print a # 20 I have been thinking that the equivalent, in expressions, should be something like this:[详细]
2023-04-06 23:55 分类:问答Explain the algorithm to solve 'longest increasing subsequence' problem
I have been trying to understand this algorithm for past two hours, but can\'t seem to get it. Can someone please explain it in easy to understand manner?[详细]
2023-04-01 08:50 分类:问答Fascinated by FP but still think imperative, how do I think functional? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-01-19 20:14 分类:问答Does anyone else think instance variables are problematic in database-backed applications?
It occurs to me that state control in languages like C# is not well supported. By this, I mean, it is left upto the programmer to manage the state of in-memory objects. A common use-case is that inst[详细]
2023-01-01 10:00 分类:问答What is the difference between declarative and imperative paradigm in programming?
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 resource[详细]
2022-12-12 12:30 分类:问答Is functional programming a subset of imperative programming?
One of the main characteristics of functional pro开发者_StackOverflow社区gramming is the use of side-effectless functions. However, this can be done in an imperative language also. The same is true fo[详细]
2022-12-12 01:20 分类:问答How is Java an 'imperative' programming language and not a 'declarative' one?
Specially in comparison开发者_JS百科 to C/C++ (which are declarative), how is Java imperative?C/C++ is imperative too.[详细]
2022-12-11 07:11 分类:问答How to remove imperative code from a function?
I\'m new to functional world and appreciate help on this one. I want to SUPERCEDE ugly imperative code from this simple function, but don\'t know how to do it.[详细]
2022-12-09 07:42 分类:问答