Showing posts with label language comparison. Show all posts
Showing posts with label language comparison. Show all posts

Tuesday, October 25, 2011

Major Languages Used for Teaching and Working


According to Wesley Chun from Google,  the main languages used at Google for production work are:

  • C++
  • Java
  • Python
Main languages used for teaching children are:
  • scratch
  • Alice
  • Visual Basic
  • Python
In this video, Wesley Chun is using video to teach a class to children.  It gives an overview of Google App Engine.  There's also some examples of how Python is used at places like Google and Yahoo.  

Wednesday, September 28, 2011

Scripting Language Versus Compiled Language

After reviewing some of the basic slides that John Zelle put up about Teaching Computer Science with Python, my student asked me what a scripting language was.  I compared Python to C and then threw in Java, a byte compiled language, to round out the comparison.

Program in C.

/* Hello World program */
#include<stdio.h>
main()

{   

printf("Hello World");


}

 Since we're on a Mac, the command in the terminal is:

gcc -o helloworld helloworld.c

Program in Java

class HelloWorldApp{     
public static void main(String[] args) {         
System.out.println("Hello World!"); // Display the string.    

}

}
byte compile the Java code:
javac HelloWorldApp.java

Run it:
java HelloWorldApp
Python

print ("Hello World")