Skip to main content

Questions tagged [procedural]

Procedural programming is a design methodology in which large programs are broken down into procedures or subroutines.

4 votes
5 answers
506 views

I'm working on an application and have encountered two different approaches for organizing business logic. There's a general consensus that application rules should be handled in higher layers, so I ...
Azuos's user avatar
  • 49
2 votes
2 answers
148 views

Lets say we have an Webserver-Framework and a Database-Framework, and now i want to configure that Webserver and the Database, then it could look like the following class Start { public static ...
Robin Kreuzer 2's user avatar
-1 votes
2 answers
190 views

So now i have a really concrete example; its highly related to that question here: Tell one, but ask the others? the important statements there are: In the comment section https://softwareengineering....
Robin Kreuzer's user avatar
0 votes
3 answers
528 views

Consider we have three classes which want to collaborate, then, where is the behaviour? I guess it can only be in one of the three classes or in a fourth one acting than as a procuedural connector-...
Robin Kreuzer's user avatar
2 votes
2 answers
212 views

a short question: class ItemActionObject { private final Object moreParameters; private final Object otherDependencies; private final Item item; public ItemActionObject(Item item, ...
Robin Kreuzer's user avatar
2 votes
2 answers
174 views

A while ago, I saw a Stack Overflow answer (I can't seem to find it now) that says functions and methods have different goals. A method is to change something within the instance, while a function is ...
Alex's user avatar
  • 147
0 votes
1 answer
184 views

TL;DR Why is the UNIX / functional style of composing and injecting smaller functions so much rarer than the Beck/Fowler/Bob refactor-to-objects style when it comes to writing maintainable, "...
user avatar
4 votes
0 answers
485 views

Background The high level overview of my situation is described here. I am breaking it apart into smaller, specific questions, such as this one, regarding extensive use of global variables in a ...
ximiki's user avatar
  • 405
1 vote
2 answers
479 views

Suppose you have a client-server architecture structured with a Client class that asynchronously implements the Send() and Receive() functions. You also have a base Message class and several other ...
m.iurato's user avatar
4 votes
3 answers
838 views

In Robert Martin's seminal 1996 article "The Open-Closed Principle" he presents an example in C which does not follow the principle (the DrawAllShapes() method is not closed for modification): enum ...
Ken's user avatar
  • 277
-3 votes
3 answers
1k views

I'm a newbie. Please give me a detailed (very detailed one) about these two types of programming that even I, a beginner, could understand. Their core differences, relevant things that I must remember,...
nvim_'s user avatar
  • 11
3 votes
2 answers
711 views

I'm currently developing a controller for an industrial application which takes data inputs from various sensors and interfaces (ethernet, serial, etc.), does some minimal processing, and adjusts ...
Dragonsheep's user avatar
-2 votes
2 answers
441 views

C had Procedural Paradigm, then C++ came with OOPS and success of JAVA make it best suitable Programming Paradigm. Now, Look at recent trends, Kotlin, Swift these languages are not like JAVA these ...
rks's user avatar
  • 105
-7 votes
1 answer
439 views

I want to know that whether storage is an issue with respect to current hardware and software market when we talk about the large size of C++ programs?? Because in certain conditions we have to choose ...
Tom 's user avatar
  • 1
1 vote
3 answers
3k views

It seems the general consensus for unit testing classes is to test your object through its public interface only. So if you wanted to test the removeElement method on a LinkedList class you'd need to ...
user avatar

15 30 50 per page