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
0
votes
1 answer

Gaussian Falloff Format for Mesh Manipulation

This return below is defined as a gaussian falloff. I am not seeing e or powers of 2, so I am not sure how this is related to the Gaussian falloff, or if it is the wrong kind of fallout for me to use to get a nice smooth deformation on my mesh: …
ina
  • 19,167
  • 39
  • 122
  • 201
0
votes
1 answer

Example of a relatively large open source codebase/application that is written in Procedural style as opposed to OOP style

I've been a professional game programmer for more than 10 years, and a programmer for more than 14. For this entire time, I've been coding in OOP style and, as a senior programmer, I have extensive knowledge in OOP best practices. I just finished…
Ed Rowlett-Barbu
  • 1,611
  • 10
  • 27
0
votes
1 answer

Procedural animation for a crab with Rigging animation & Inverse kinematic

I work on unity, I have to completely change my script which allows to do procedural animation in reverse kinematic, in fact to explain to you I have a crab with 8 legs, each with 4 pivot points, and I want to do so that when the crab moves the legs…
0
votes
0 answers

Finding Footing for Proceedural Animation

About three to four months ago, I began working on a video game with a couple of friends and decided that procedural animation would work best. After a couple of days, I was able to get a rig working that would bend the legs of a humanoid figure so…
0
votes
0 answers

Procedural parametric 3D modeling for sword blade shapes?

I need to create several swords for a videogame and I was wondering if its possible to do it through procedural modeling. So for example, based on the different blade shapes present in this…
R01010010
  • 5,670
  • 11
  • 47
  • 77
0
votes
1 answer

Active ragdoll in pymunk

I'm writing a script in pymunk/pygame to create a character for a game. At this point, I have a ragdoll (the skeleton) with body parts linked by PinJoints. The problem is that in this way I don't have an active ragdoll, but only a dead stickman that…
0
votes
1 answer

When running a For loop in Big Query the sql_expression_list is not being evaluated the same as if it was run alone

I am running a For loop to gather a table_expression from a dataset's information schema that contains the names of columns that are of ARRAY type in a table. I am able to generate this table_expression as intended. From here I am trying to loop…
0
votes
1 answer

Why does Ada Language use Semicolon `;` to Separate Parameters in Subprogram Declarations?

fellow coders.. I'm just a new learner and try to practice some programming paradigms in their specific designed environments. Recently I've learn quite many new small things in Procedural Programming in Ada Language and have a great experience of…
0
votes
0 answers

Generate audio signal from piston movement

I'm creating a procedural engine sound generator heavily inspired by AngeTheGreat's engine simulator, but using some trigonometry functions to calculate the piston and crankshaft movement instead of rigidbodies. I'm starting with the most basic…
ghsoares
  • 53
  • 2
  • 7
0
votes
0 answers

Dart procedural programming counting

how to add 1 second delay to a loop in dart for creating count down output like this 3 '1 second delay' 2 '1 second delay' 1 '1 second delay' 0 ---> Done with procedural programming without using methods?
0
votes
1 answer

How to use codeigniter routes on a procedural style PHP website with a codeigniter folder structure?

I have a website built with a folder structure exactly like code igniter which has this folders: app (controllers/core/helpers/libraries/models/views/) etc. assets files system (core/database/fonts/helpers/language/libraries) themes…
Redhead
  • 55
  • 8
0
votes
1 answer

How can I make a simple automatic shoot function for a gun in Unity?

I am trying to create a procedural gun controller, but I can't find why my gun behaves so weird when I change the fire mod to automatic. To understand this better, I will give an example: when I try to shoot by pressing the "Mouse0" key, on semi…
0
votes
1 answer

shall I include a file to seperate functioniality in PHP, or are there better ways?

Is there a way to implement this idea class Test{ public function test(){ return include 'test.php'; } } test.php Test $test = new Test(); echo…
Komskie
  • 21
  • 3
0
votes
1 answer

How Do I Generate Procedural Cube Asteroid Formations?

I'm trying to find the best way to generate perlin-noise-based cube voxel asteroids, but cannot seem to find a consistent method to do so. I've tried to use this perlin noise library:…
0
votes
2 answers

Stripe php integration Error: ReferenceError: sessionId is not defined

I'm stuck at integrating stripe's prebuild payment gateway to my project. I'm coding very simple Eshop (without login/registration and shopping cart) just a simple project with a form and stripe checkout as a way to pay... I was following official…