should a fortran-savvy educator learn java, flash, both, or neither? michael dubson, physics dept...

12
Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder [email protected] PER Group CU- Boulder Funding: Kavli Foundation NSF

Upload: maud-hutchinson

Post on 15-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

Should a Fortran-savvy educator learn Java, Flash, both,

or neither?

Michael Dubson, Physics Dept

University of Colorado at Boulder

[email protected]

PER GroupCU-

Boulder

Funding:

Kavli Foundation

NSF

Page 2: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

2

Physics Education Technology Project

http://phet.colorado.edu

Wendy Adams, Mike Dubson, Noah Finkelstein, Kathy Perkins,

Noah Podolefsky, Sam Reid, and Carl Wieman

U.Colorado at Boulder,

Ron LeMaster, Kavli Operating Institute

•Highly interactive, visual physics simulations (~35)•Fun, bridge to real world, visual/conceptual models•Research-based and user-tested•Freeware, online or downloadable

Page 3: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

3

JAVA: • Programming language from Sun Microsystems• Compiler is free• Clients require ~ 15 Meg Java Virtual Machine download

to run on PC or Mac

FLASH:•Animation tool and scripting language from Macromedia Inc.

•Authorware costs ~$100

•Flash viewer is free

•Clients require ~500K browser plug-in

Page 4: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

4

Java and Flash are both…

• Platform-independent (mostly)

• Immune to viruses (they say)

• Widely available (hmm…)

• Powerful (truly!)

~ ideal for production and wide Internet delivery of educational software

Page 5: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

5

Java and Flash are both..

• Complex: Difficult to master unless previous experience with Object Oriented Programming

• Evolving: Java appears to have stabilized, but Flash is still undergoing major revisions at ~2 year intervals.

Page 6: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

6

My Java/Flash books

Page 7: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

7

What is Object Oriented Programming?It is not Procedural Programming.

Procedural Programming

(Fortan, Basic, Pascal, PL1, Cobol, C)

OO Programming

(Java, C++, smalltalk, lisp)

variables

functions

objects

Page 8: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

8

Why Object Oriented Programming?

• More “natural” (to the unfossilized young)

• Much less debugging needed

• Easier to maintain, extend, update

Page 9: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

9

Java vs. Flash

A “real” programming language : •compiled, fast•full-featured •compiler is free

A scripting language plus graphics tools:•interpreted, slow •limited features•Authorware costs ~$100

Java has some advantages:

Page 10: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

10

Java vs. Flash

•On fewer machines•Bigger plug-in (15M)•Bigger programs•Bit-mapped graphics•No GUI graphics tools

•On more machines•Smaller plug-in (0.5M)•Smaller programs•Vector graphics•User-friendly graphics tools

Flash has some advantages:

Page 11: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

11

• Use Java or Flash to create sophisticated, interactive simulations that can be delivered widely and safely over the Internet

• Use Java if you need speed, or have a very complex simulation.

• Use Flash is you want the most users.• Use someone else unless you have lots

of time.

Conclusions:

Page 12: Should a Fortran-savvy educator learn Java, Flash, both, or neither? Michael Dubson, Physics Dept University of Colorado at Boulder michael.dubson@colorado.edu

12

phet.colorado.eduPhET Exhibit Booth

Laptops to explore sims

Posters on:

• Project Overview

• Design principles

• Design philosophy

Website