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
0 answers

To what extent is Houdini capable of procedural animation?

I've recently been getting into character animation, but since I come from a programming background I like to approach everything procedurally. I got started with rigging and animation using Blender and Cascadeur, but that approach seems very…
0
votes
1 answer

convert mysql to mysqli procedural way for google charts

I am trying to upgrade some google charts i use for my own use from mysql to mysqli procedural way, and i have trouble in re-creating the correct array for the google chart to understand. I think i am very close by i am loosing something. Any…
TharsDimitris
  • 154
  • 10
0
votes
1 answer

How to optimize using reflection SetValue in c#?

What I am trying to do: I am trying to make component based Objects which can be easly created with custom set type of rules for each component value. How I am doing it: I have created IComponent interface which each component implements. All…
user6601263
0
votes
1 answer

Oracle BI Publisher Procedural Call

Am new to PL/SQL i want print the same code in Oracle BI Publisher Procedural Call. DECLARE message varchar2(20):= 'Hello, World!'; BEGIN dbms_output.put_line(message); END;
Sch Deep
  • 1
  • 1
0
votes
1 answer

How is best practise using AMD and RequireJS, when namespacing an entire file

I am new to AMD, and I've been wondering about how one can have a file like this, mixed functions and logic: function abc() { .... } function def() { .... } function ghi() { .... } var something = { ... } if (abc === something) { …
Klemme
  • 83
  • 1
  • 8
0
votes
1 answer

Making a Circle in using Math nodes

I tried to make a circle using Math Nodes in Blender Shader Editor on a default Plane. A default Plane has dimensions of [2 m * 2 m]. I used the standard equation (x-g)^2 + (y-h)^2 - r^2 = 0 But the circle formed exceeds the Plane when I use the…
Adarsh TS
  • 193
  • 15
0
votes
1 answer

How to procedurally calculate angles between a great number of vectors?

I've got 4 vectors with their coordinates at different time steps. lon <- list(505997.627175236, 505997.627175236, 505997.627175236, 505997.627175236, 505997.064187932, 505997.814896096, 505997.843587834, 505997.880929633,…
0
votes
0 answers

Is using static classes in c# the same as procedural programming compiler-wise?

Basically I am using Unity and it used c#. I want to program procedurally. Can I mimick this with static namespaces and static classes, so that I can use the static namespaces as "header files", so I dont have to instantiate a bunch of singletons.…
Tree3708
  • 33
  • 4
0
votes
1 answer

How do I create a procedural multi dimensional array with PHP

I'm super new at php, I'm working on a game in Unity c# and I'm trying to send and receive data from a mysql server. I think I'm having a problem with syntax. I basically have a string that's being sent from my c# script that holds multiple ships…
0
votes
0 answers

Unity: Custom Procedural Skybox disappears at build

Following this process https://www.youtube.com/watch?v=UIbkfVWYRWQ I made a custom skybox procedural material for my app and applied it in the lighting panel. It works fine but when I make a build for Android, during the building process, the custom…
RichGG
  • 115
  • 1
  • 10
0
votes
0 answers

Is procedural code significantly faster than object-oriented code in compiled javascript when working with cloud hosting?

I was told that object oriented code is significantly slower when working with multiple clients interacting with a cloud-based server, and not worth considering. From what I understand, if treated as an interpreted language, the difference in speed…
Jeremy
  • 53
  • 6
0
votes
1 answer

postgres procedura script does not read input provided by file.sh

I have an Issue running a psql script. this is the output : File.SQL:155: ERROR: syntax error at or near ":" LINE 10: date_temp_Ale INTEGER := :'param_date'; i have a file.sh that is calling the "File.sql" with and Input varible. here is…
Ale
  • 31
  • 4
0
votes
0 answers

Unity: Change Colour of Surface according to its angle

I made a surface with hills in Unity, on which the player has to travel (like a 3d version of Hill climb racing). How can I colour the parts that go uphill red and the parts than go downhill green? I can't colour it manually since I need to have…
0
votes
1 answer

My platform covers my exit block due to my procedural generation, does anybody know how to solve this

I have been making a 2d platformer using pygame, and have introduced procedural generation to my code, however I have found that sometimes, my platforms cover my exit block making the level impossible to complete, I have tried moving the exit block…
0
votes
2 answers

Is it correct to make this affirmations about OOP and Procedural Programming?

I had to do a true or false homework here, and I have my doubts with these three things I've been reading but the more I read the more kind of confused I get. Here are my conclusions I hope you can help me understand better. 1) "Object-oriented…
BugsForBreakfast
  • 712
  • 10
  • 30