programming language timeline scala typescript ... · lisp 1958 cobol 1959 pascal 1970 prolog 1972...

5
4 FORTRAN 1957 LISP 1958 COBOL 1959 PASCAL 1970 PROLOG 1972 ADA 1980 C++ 1983 OBJECTIVE-C 1983 ERLANG 1986 PERL 1987 HASKELL 1990 PIET 1990 PYTHON 1991 BASIC 1964 C 1972 APPLESCRIPT 1993 LUA 1993 R 1993 BRAINFUCK 1993 JAVASCRIPT 1995 RUBY 1995 PROGRAMMING LANGUAGE TIMELINE 5 JAVA 1995 PHP 1995 OCAML 1996 ACTIONSCRIPT 1998 C# 2000 D 2001 CHEF 2002 SCRATCH 2002 GROOVY 2003 SCALA 2004 COFFEESCRIPT 2009 GO 2009 RUST 2010 TYPESCRIPT 2012 DART 2013 SWIFT 2014 CLOJURE 2007 KOTLIN 2011 SAMPLE

Upload: others

Post on 25-May-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

4

FORTRAN1957

LISP1958

COBOL1959

PASCAL1970

PROLOG1972

ADA1980

C++1983

OBJECTIVE-C1983

ERLANG1986

PERL1987

HASKELL1990

PIET1990

PYTHON1991

BASIC1964

C1972

APPLESCRIPT1993

LUA1993

R1993

BRAINFUCK1993

JAVASCRIPT1995

RUBY1995

PROGRAMMING LANGUAGE TIMELINE

5

JAVA1995

PHP1995

OCAML1996

ACTIONSCRIPT1998

C#2000

D2001

CHEF2002

SCRATCH2002

GROOVY2003

SCALA2004

COFFEESCRIPT2009

GO2009

RUST2010

TYPESCRIPT2012

DART2013

SWIFT2014

CLOJURE2007

KOTLIN2011

SAMPLE

CHEF

Ingredients 33 g chocolate chips 100 g butter 54 ml double cream 2 pinches baking powder 114 g sugar 111 ml beaten eggs 119 g flour 32 g cocoa powder 0 g cake mixture

Cooking time: 25 minutes.

Pre-heat oven to 180 degrees Celsius.

Method Put chocolate chips into the mixing bowl. Put butter into the mixing bowl. Put sugar into the mixing bowl. Put beaten eggs into the mixing bowl. Put flour into the mixing bowl. Put baking powder into the mixing bowl. Put cocoa powder into the mixing bowl. Stir the mixing bowl for 1 minute. Combine double cream into the mixing bowl. Stir the mixing bowl for 4 minutes. Liquify the contents of the mixing bowl. Pour contents of the mixing bowl into the baking dish. bake the cake mixture.

Wait until baked.

Serve with chocolate sauce.

chocolate sauce.

Ingredients 111 g sugar 108 ml hot water 108 ml heated double cream 101 g dark chocolate 72 g milk chocolate

Method

Clean the mixing bowl. Put sugar into the mixing bowl. Put hot water into the mixing bowl. Put heated double cream into the mixing bowl. dissolve the sugar. agitate the sugar until dissolved. Liquify the dark chocolate. Put dark chocolate into the mixing bowl. Liquify the milk chocolate. Put milk chocolate into the mixing bowl. Liquify contents of the mixing bowl. Pour contents of the mixing bowl into the baking dish.

Refrigerate for 1 hour.

24

CHEF2002 lent David Morgan-Mar the genius idea to write a programming language in terms of a recipe. The language, called Chef, gives things such as variables and stacks, which store integer values, the illusion of being ingredients and mixing bowls. While Chef was explicitly created as an esoteric language, it also has the qualities of being scalar, imperative, stack-oriented, and value-level. Each program consists of a specific structure, formed by all things needed to cook, which includes a recipe title, comments, ingredient list, cooking time and oven temperature, method, as well as how many the dish serves. Some of the different dishes you can prepare in Chef include Lobster with Fruit and Nuts, Chocolate Cake, and Souffles. According to David Morgan-Mar, Chef has three design principles. “ Program recipes should not only generate valid output but be easy to prepare and delicious. Recipes may appeal to cooks with different budgets. Recipes will be metric, but may use traditional cooking measures such as cups and tablespoons.”

25SAMPLE

JAVA

46

public class HelloWorld { public static void main(String[] args) { System.out.println(“Hello, World!”); }}

JAVAJava was created to “write once, run anywhere,” meaning that code does not have to be recompiled for each new system it runs on. It was initially developed by James Gosling at Sun Microsystems and is now maintained by the Oracle Corporation, which acquired Sun Microsystems. Previously called "Oak," Java was created to program interactive televisions. The project quickly grew in scope and was renamed Java, in reference to Java coffee. Java quickly became popular after browsers began supporting Java applets, and the language was used on the Internet. It has since been used to create games such as Runescape and Minecraft and became the platform for the

Android operating system. Java is thought to be one of the most widely used programming languages and is

used in high schools to teach AP Computer Science.

47

Java

SAMPLE

RUBY

76

RUBYRuby exists by the merit of its creator, Yukihiro Matsumoto's quest to find a programming language that was object-oriented and easy to use. When he could not find one, Yukihiro created his own language. Before he designed the language, Yukihiro debated whether it should be named "Coral" or "Ruby." He ultimately went with Ruby because it was the birthstone of one of his colleagues. The first stable release of Ruby came in 1996 and after that has continuously improved. Twitter and Hulu both use Ruby on Rails, a framework written in Ruby, extensively in their web applications.

77

puts “Hello, World!”

SAMPLE

78

RUST

fn main () { println!(“Hello, World!”);}

79

RUSTGraydon Hoare, a Mozilla employee, began creating the programming language Rust in 2009 as a side project. After a year of independent development by Hoare, Mozilla started to support the project officially. The language was initially written in OCaml but is now compiled using the language itself. C++ mainly influenced the language's safety and concurrency features, but was made to prevent segfaults and guarentee thread safety. The language is used primarily in the development of Servo, a web browser that Mozilla is creating, and in the development of the Rust compiler.

SAMPLE