ITEC 320
-
Upload
quentin-christensen -
Category
Documents
-
view
17 -
download
0
description
Transcript of ITEC 320
Introduction
Introduction
• On a scale of 1 to 10, how interested are you in learning a different language?
• How many lines of code did you write for the largest program you’ve worked on?
• What do you want to learn in this course?
• Share with your neighbor• Introduce yourselves and answers to
the class
Introduction
Languages
• What advantages are there to learning a new computer language?
• What are the some of the reasons for learning a new language?
• Why is this important?– Objective C example
Introduction
1970s
• The era of…• Multiple languages used at the
DOD…• What are some of the problems with
using multiple languages?• What happens when you use multiple
languages for one project?
Introduction
Result
• Procedural / OO mixed language• Multi-threaded / generics• Reliability and maintenance• Readability over writability
$line =~ /.{28}(\d\d)-(\d\d)-(\d\d).{8}(.+)$/
Introduction
Differences
Java
Ada
public class HelloWorld{
public static void main(String[] args){
int x;x=3;System.out.println(x);
}}
with ada.text_io;with ada.integer_text_io;procedure hello1 is x: Integer;begin x := 3; ada.text_io.put_line("Hello World"); ada.integer_text_io.put(x);end hello1;
Introduction
First impressions
• What are your thoughts on what you just saw?
with ada.text_io;with ada.integer_text_io;procedure hello1 is x: Integer;begin x := 3; ada.text_io.put_line("Hello World"); ada.integer_text_io.put(x);end hello1;
Introduction
How to make it work
• Write / Compile / Execute cycle• Editors– vi filename.adb
• Compiler– gnatmake filename
• Execution– filename or ./filename (Mac)
Introduction
Syllabus
• MWF Lectures• Office Hours 10:00 AM M-F• Website• D2L for submission• Projects• Homework• Exams
Will be mirroring Dr. Okie’s section