My Best Education dot com Presents
My Best Education.com

Introduction

Programming constructs are those structures that allow us to build programs. They are summaries of thought processes we often use.

There are other more language specific constructs, but any decent language will support these.

Documents

Conditional branching

if-then-else
if-then-else but from a basic approach.
if-then-else with a JavaScript approach. Similar to many other modern languages.

The biggest problem with the if-then-else is when it gets too complicated. Nesting and long lists of if statements can be reduced to case or switch statements if supported by your language. Note: the syntax varies alot depending on the language

Case/Switch
Case/Switch
Case/Switch

Loops and iteration

For Loops, several flavors but solid explanation.
While Loops.
Loops, with a several flavors.
Loops, with a Pascal flavor.

Recursion as a form of Loop -- advanced topic, most can ignore this section

From a C++ view.

Variables and Data Types

While every effort has been made to find generic articles, always consult your language reference to see what are valid variable names and the syntax of your data types. Every language has its own rules. Each language has certain pre-defined variable names that you can't use because that language already does.

Discussion on variables
Variables
Variable names
Educational rant about variable names
Why choosing good variable names is important. Of course, language specific so remember the principle.
Variable names rules from a Java view, but easily adaptable to YOUR language.
Data types from a Basic approach, but most languages support the same type of types.
Data types
Data types
Data types from a C view.
Scope of a variable using bash but the concept is important.

Arrays/Vectors/Tables

Please note that some writers consider these to be a data type not a construct. I just don't agree with them.

Arrays
Arrays
Arrays from a JavaScript view.
Arrays from a bash view.

Comments and general coding styles

Comments
Coding Styles
Coding Styles
Coding Styles
Coding Styles

Videos

No videos have been developed for this yet.

Conditional branching


Loops and iteration


Variables and Data Types


Arrays/Vectors/Tables


Comments


Projects

No projects have been developed for this yet.

Conditional branching


Loops and iteration


Variables and Data Types


Arrays/Vectors/Tables


Comments


Examples

Excellent examples are available under the documents section.