Skip to content
Future Analytics edited this page Jul 16, 2015 · 5 revisions

An unconventional format will be used to introduce the student to the architectural and design pattern aspects of coding. Although the content will not be the scientifically correct due to the more holistic or teleological methodology being used, and also due to the de-categorising or coupling of the elements within coding as a trade, then a more simpler and easier to digest introduction to coding can be produced.

Also within the above methodology is the promotion and the acceptance of the space needed for the student to continue learning in their own time. Should a student want to learn about pointers and dataType declaration then they will naturally research it as an instant reaction to thier initial interest. This means that there will be no exam or accreditation, certs or gold stars. The idea is for the coder forge to act as a club where coding can forge trade by allowing education to be its primary capital. Therefore it is expected that some, probably the majority, of members will not attend regularly.

So although not technically correct and with the above methodology in mind, I will start by declaring that there exists only 3 things in coding:

  • symbols
  • keyword
  • class

symbol

A symbolis a thing, its a type of data. For example, this data can be a variable, an object or a function.

variable

There are 3 main different types of variables:

  • string "this sentence is a string"
  • integer 12345
  • float 0.12345 In JavaScript all variables are strings by default. Changing a variable from one type to another is known as casting.
function

A function, also known as a subroutine, is a collection of code grouped and given a name. When you call the function name the code it contains runs. You can call a function as many times as you like. A good example would be the clicking of a button, when this button is clicked a function runs but only when the button is clicked.

object

This is a function with internal functions. These internal functions are known as methods and they can be in different states, ie private or public. A private method can only be called from within the objects code. A public method, however, can be called from outside the object.

keywords

These are reserved words and characters. I'm lumping operators into this to group to include +, -, /, * operators as keywords. A good example would be the keyword if, you can't call a symbol if as this is reserved for doing conditionals. There are a set number of keywords in JavaScript.

class

This is an interesting concept to have separated from variables and objects's. A class is the code that makes up an object. It where you have typed and declared the code that makes up an object. Generally each object will gets its own file, a class file. An object gets created, or constructed, when a class is stored in symbol. Type out a function with internal functions and its a class, then stick this class in a symbol and you have an object.