Tag Archives: Programming

Python, Ruby & Swift

These are simply programming languages to help us learn “Object Oriented Programming”. While we will be trying to learn each of the languages as best we can, the goal is to learn to Program and user “Object Oriented Programming” as the foundation.

Data Structures

Struct

Class

  • Class Inheritence

Struct vs Class

  1. Class requires initializer to be written and Struct does not require
  2. Struct is of “Value Type”, Class is “Reference Type”

Method

  1. Instance Method

Initializer

Default / Memberwise

Functions

Optionals (need to go over) / Unwrapping Optionals / Optionals Chaining

– manzoor

Related Posts (internal)

Learn to “Program”

We will use “python”, “ruby” and “swift” as our “programming languages” to “Learn to Program”. Before we begin we will need to check if we have “python” / “ruby” / “swift” already installed on our system. We can do this by typing:

python

or

ruby

If they are NOT, we will need to install. If they are, we will need / want to check the version of “python”.

Once the version is verified, you will want to write your very first python / ruby script. Keeping with tradition, the very first program should be”

  1. Hello World

– manzoor

Related Links:

Internal:

External:

Web Programming in Python Links