A programming paradigm aimed on improving the clarity, quality, and development time of a computer program by making extensive use of subroutines, block structures and for and while loops.
5
votes
2answers
239 views
Is Lisp the first language to adopt structured programming?
I couldn't find any links or books claiming that Lisp is the first programming language to adopt structured programming (actually, most of them don't even mention Lisp at all), but if conditionals ...
1
vote
5answers
402 views
Should unit-tests be entirely self-contained? [duplicate]
As the title suggests my question is whether or not
unit-tests should be entirely self-contained or can
one rely on the results yielded by previous tests?
What I mean, in case that it isn't entirely ...
22
votes
7answers
2k views
What were the Design Patterns of the procedural programming era? [closed]
Similar: How was programming done 20 years ago?
OOP is quite fashionable nowadays, having its roots in Simula 67 in the 1960s, and later made popular by Smalltalk and C++. We have DRY, SOLID, many ...
2
votes
1answer
217 views
Aren't structured programming and object oriented programming complementary?
It seems there is a lot of discussion on the web about the differences between these two paradigms, and how OOP is somewhat better than structured programming.
But aren't they complementary? From my ...
5
votes
3answers
1k views
Why was GOTO included in PHP 5? [closed]
I discovered some time ago that the GOTO control keyword was introduced in PHP 5.3.0.
http://php.net/manual/en/control-structures.goto.php
Why did it happen?
What are the language design goals ...
5
votes
2answers
480 views
Lua and multi-paradigm programming: scope and capabilities
Despite having started learning programming with Pascal and C, after the jump to OO (C++, Java) I lost sense of the structured programming paradigm. I have started learning Lua and I have researched ...
0
votes
3answers
161 views
Roadblock-confused about structure of program
I'm new to programming, and I'm working in C. I know that this is structured programming but if I use blocks, say for local variables:
{
int i;
for(i=0; i<25; i++){
printf("testing...\n");
...
43
votes
3answers
9k views
What's The Difference Between Imperative, Procedural and Structured Programming?
By researching around (books, Wikipedia, similar questions on SE, etc) I came to understand that Imperative programming is one of the major programming paradigms, where you describe a series of ...