Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. •...
Transcript of Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. •...
![Page 1: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/1.jpg)
Should a Fortran-savvy educator learn Java, Flash, both,
or neither?Michael Dubson, Physics Dept
University of Colorado at [email protected]
Funding:
Kavli Operating Institute
NSF
PER GroupCU-Boulder
![Page 2: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/2.jpg)
2
Physics Education Technology Project
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, real world, visual/conceptual models• Research-based and user-tested• Freeware, online or downloadable
http://phet.colorado.edu
![Page 3: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/3.jpg)
3
JAVA:• Programming language from Sun • Compiler is free• Clients require ~ 15 Meg download to run on PC or Mac
FLASH:• Animation tool and scripting language from Macromedia• Authorware ~$100 • Flash viewer is free• Clients require ~500K browser plug-in
![Page 4: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/4.jpg)
4
Java and Flash are both…
• Platform-independent (mostly)• Immune to viruses (they say)• Widely available (hmm…)• Powerful (truly!)
~ ideal for creation and wide Internet delivery of educational software
![Page 5: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/5.jpg)
5
Java and Flash are both..
• Complex: Difficult to master without previous experience in Object Oriented Programming
• Evolving: Java appears to have stabilized, but Flash is still undergoing major revisions at ~2 year intervals.
Flash Flash MX Flash MX 2004
![Page 6: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/6.jpg)
6
My Java/Flash books
![Page 7: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/7.jpg)
7
What is Object Oriented Programming?It is not Procedural Programming.
OO Programming(Java, C++, …)
objects
Procedural Programming(Fortran, Basic, Pascal, …)
variables
functions
![Page 8: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/8.jpg)
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 ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/9.jpg)
9
Java has some advantages:
Java vs. FlashA scripting language plus
graphics tools:
•interpreted, slow•limited features
•Authorware ~$100
A “real” programming language :
•compiled, fast•full-featured •compiler free
![Page 10: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/10.jpg)
10
Flash has some advantages:
Java vs. Flash• On more machines
• Smaller plug-in (0.5M)
• Smaller programs
• Vector graphics
• User-friendly graphics tools
• On fewer machines
• Bigger plug-in (15M)
• Bigger programs
• Bit-mapped graphics
• No GUI graphics tools
![Page 11: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/11.jpg)
11
Conclusions:• 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.
![Page 12: Should a Fortran-savvy educator learn Java, Flash, both ... · Java and Flash are both.. • Complex: Difficult to master without previous experience in Object Oriented Programming](https://reader033.fdocuments.us/reader033/viewer/2022043004/5f8551ccfe8b491534748634/html5/thumbnails/12.jpg)
12
Website
phet.colorado.edu
freeware