Questions tagged [procedural]

Procedural programming is a term used to denote the way in which a computer programmer writes a program. This method of developing software, which also is called an application, revolves around keeping code as concise as possible. It also focuses on a very specific end result to be achieved. When it is mandatory that a program complete certain steps to achieve specific results, the code is said to have been written according to procedural programming.

Procedural programming is not always the preferred method of coding applications. Software that is highly complex can require literally thousands of lines of code, making it somewhat more difficult for a team of people to work with it. Some programmers hold the opinion that extremely large applications can become difficult to maintain even by one developer.

Some people wrongly believe that it is impossible to write very large or complex software in a procedural programming language. Certain programs might be more easily written using Object Oriented Programming (OOP), but this does not mean that they cannot be developed procedurally. The Linux kernel, which is the core of an open-source operating system, is written using procedural programming. Other major applications such as the Apache server, the Drupal content management system and Samba, are all written in this manner. These applications are large and are considered to be complex by the overwhelming majority of programmers.

Among the procedural programming languages in existence are C, Fortran and Python. Many important applications and utilities have been coded in such languages. For example, Anaconda, the installer for Fedora Linux, is written in Python, as are various software managements tools.

Imperative programming is another term used to signify this type of development.

187 questions
-2
votes
1 answer

Behavioral Abstraction

I am trying to understand behavioral abstraction, particularly in relation to the concept of object oriented programming. My current understanding is that it is a combination of data and procedural abstraction, which are combined to create class…
Vladamir
  • 247
  • 1
  • 3
  • 11
-3
votes
1 answer

Based on both Cyclomatic Complexity formulas, explain why the number of procedural nodes does not influence on cyclomatic complexity value

a. Based on both CC formulas, explain why the number of procedural nodes does not influence CC. b. What would happen if you had multiple stop nodes? d. What is the effect on cyclomatic complexity of break, continue, goto and return…
-3
votes
2 answers

Procedural Language in Jasper Studio

I need to include procedural code to get data from database. Example: use for/while loops, if conditions, open and close "cursor" data, to create a program that runs and obtains results. This result is used to fill the report fields. How can I…
Angelo
  • 1
  • 1
-3
votes
2 answers

How does Minecraft address specific blocks?

So Minecraft uses procedural meshes, how do they address a specific block? How can they separate a stone block from a dirt block? Minecraft is just an example. I want to now how it works technically.
-4
votes
1 answer

Dynamic name to function

What i want to do is to make a procedural variable name for a pygame draw function inside a for loop. But i just cant figure out how to do it. I tried to follow some guides that i saw about dynamic names but they only showcased making a variable…
Alex GkG
  • 13
  • 3
-4
votes
1 answer

Calculating Score [Java procedural]

My program keeps adding up the score for each player, rather than keeping it seperate for example if first player gets 3/5 and the second gets 2/5 the score display for the second player will be 5. I know the answer is probably very simple however…
gekon07
  • 5
  • 1
  • 3
-7
votes
1 answer

Object Oriented Programming vs. Procedural Programming

I'm trying to write two examples of code in java: OOP and procedural, but I can't think of procedural code example. I have one example of an OOP code below. Can someone give me an example of a procedural code and explain a little as to what it does?…
Jose Ivan
  • 3
  • 2
  • 4
1 2 3
12
13