Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 131624

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

15 votes

What programming paradigm do you think would work best for the AI aspect of a chess engine?

My guess is that procedural programming (simply providing the computer with a set of instructions, an algorithm for picking moves), or perhaps functional programming (FP) would be more relevant in this … Procedural programming is straightforward. Start at the beginning, proceed through the middle, when you get to the end, stop. A nice simple pattern. …
candied_orange's user avatar
6 votes
Accepted

How does a function's purpose differ between a OOP and Procedural style?

Procedural or OOP, the purpose of a function or method is to keep you from needing to repeatedly look inside to understand what is going on. …
candied_orange's user avatar