Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Life and Times of Andrew Bardee and Chris Cornelius Programming Languages Fall 2011.

Similar presentations


Presentation on theme: "The Life and Times of Andrew Bardee and Chris Cornelius Programming Languages Fall 2011."— Presentation transcript:

1 The Life and Times of Andrew Bardee and Chris Cornelius Programming Languages Fall 2011

2 Inception Sun Microsystems, early 1990s James Gosling, Mike Sheridan, Patrick Naughton 1991 – Project begins as the "Oak" language 1994 - Re-targeted for WWW applications. Re-named after a type of coffee. "Write once, run anywhere" 1995 - Java 1.0 released

3 Basic Tenets of Java Simple, Object Oriented, and Familiar Robust and Secure Architecture Neutral High Performance "In general, users perceive that interactive applications respond quickly even though they're interpreted." "Interpreted, Threaded, and Dynamic"

4 Language Mechanics Everything is contained in a class Pointers are hidden Files must be named after one of the class they contain Compiled to java byte code, which is interpreted by the java virtual machine. Virtual machine dynamically compiles byte code into machine code and executes it.

5 A Basic Code Example class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } }

6 Another example // OddEven.java import javax.swing.JOptionPane; public class OddEven { private int input; public OddEven() {} public static void main(String[] args) { OddEven number = new OddEven(); number.showDialog(); } public void showDialog() { try { input = Integer.parseInt(JOptionPane.showInputDialog("Please Enter A Number")); calculate(); } catch (NumberFormatException e) { System.err.println("ERROR: Invalid input. Please type in a numerical value."); } } private void calculate() { if (input % 2 == 0) { System.out.println("Even"); } else { System.out.println("Odd"); } } }

7 Syntax No global variables or functions The new operator required for making objects Robust library support Heavy use of exceptions No deletion of memory required Limited template support Limited support of multiple inheritance

8 Fun facts Javadoc Java OS – a total bomb Duke – the java mascot No unsigned int type

9 Java Today 2002 - Released J2SE 1.4 2004 - Released J2SE 5.0... whereabouts of the intermediate versions unknown 2006/2007 – Java released as open source Java in education 2010 – Oracle purchases Sun Microsystems. Oracle considers itself... "A steward of Java technology with a relentless commitment to fostering a community of participation and transparency".

10 In Conclusion... What is Java? Portable Simple Resource-endowed Web-centric What is Java NOT? Close to hardware Fast and powerful Concise JavaScript Though many rail against Java, it fills a need for a simple language which facilitates innovation and universality.

11 Part II: Criticisms of Java Guest Appearances: Patrick Garrity Timothy Yates Patrick and Tim are both veterans of Computer Science 499: Complaining, and have vast tracts of experience in highlighting issues with highly accepted programming paradigms, ie. MapReduce.


Download ppt "The Life and Times of Andrew Bardee and Chris Cornelius Programming Languages Fall 2011."

Similar presentations


Ads by Google