274 questions
1
vote
1
answer
192
views
Delete an item from an array
So I’m writing a procedure that gives the user the choice to either delete or modify a value in an array.
The modifying part was easy, but I’m having troubles deleting the item.
Procedure ...
0
votes
0
answers
43
views
my question is how to implement the procedural function in postgres
i am using a java spring boot as a backend and database as postgers so now my question is how to implement the procedural function in postgres like first i am writing the function in a seperate schema ...
-2
votes
2
answers
71
views
Automating Grading of Procedural Python Program [closed]
Let's assume you want to test basic programming skills of students. For example:
Write a Python module, student_submission.py that
assigns to variable myString the string "$stackoverflow is ...
0
votes
2
answers
139
views
Why is my Cellular Automata implementation broken?
I've been messing around with procedural noise lately, and decided to give a fresh stab at relearning Cellular Automata to generate cave-like maps. But I'm not sure if my implementation of 2D arrays ...
0
votes
1
answer
113
views
Making a chain of procedural jumps for board game in Unity C#
I need to make a procedural jump in a board game which is called every time when I need to do so in the script. This allows player to move between waypoints. So for example the player gets the number ...
0
votes
1
answer
182
views
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 ...
-1
votes
1
answer
138
views
repeat the same aggregation on different columns in BigQuery
I have a table like below:
product | weight | col1 | col2 | col3 | ... | col100
productA | 1 | 1 | 2 | 3 | ... | 100
productB | 1 | 1 | ...
0
votes
1
answer
142
views
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 ...
0
votes
1
answer
78
views
Get the details of latest transaction details of all employees based on selected transaction type
everyone. Some one who can help me to get the latest transaction details of employees based on selected transaction type.
Below is the sample tables.
employees Table:
employee_id
employee_name
1
John ...
0
votes
2
answers
84
views
Have a routine handle special cases or split the code in n routines, one for each case?
I wonder what the best practice is for handling optional calls, special cases etc. within procedural code (PL/SQL without OOP). We have a program with lots of configuration and things that will or ...
0
votes
1
answer
312
views
How to abstract things away in c without having a bunch of function parameters?
I've been messing around with SDL2 in c and was wondering how to abstract code away without using too many function parameters. For example, in a normal gameplay loop there is usually an input, update,...
0
votes
1
answer
222
views
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 ...
0
votes
1
answer
82
views
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 ...
1
vote
0
answers
72
views
SELECT query using FIND_IN_SET() to match values in the separated commas
I am trying to do dynamic nav menus for the pages, when admin creates a page, he selects multiple selection for the menus that this page should appears for,
I am achieving this through two steps, 1st ...
1
vote
0
answers
230
views
Design pattern for DataEngineer-ETL-pandas
I used to be a Web Backend Developper (using Symfony and Spring-boot).
Now, I'm interested in Data Engineering with Python ... and I see that we use Procedural way more that OOP paradigm.
That is not ...