Intro Programming

Top Programming Languages (2018)

https://spectrum.ieee.org/at-work/innovation/the-2018-top-programming-languages


There are 256 programming languages in the world

There are 6,500 spoken languages in the world

Some languages are 'compiled' and some are 'interpreted' 

Say "Hello World" in 4 different languages

Fortran

       program hello

          print *, "Hello World!"

       end program hello

C

#include <stdio.h>

int main()

{

   printf("Hello, World!");

   return 0;

}

C++

#include <iostream>

using namespace std;


int main() 

{

    cout << "Hello, World!";

    return 0;

}

Python

print("Hello, World!")

Scientific Computing

Let's really program!

We will use Trinket, an online Python interactive development environment (IDE)

We will program in Python2 and Python3. Huh?