CSCI-GA.3033.003 Scripting Languages
CSCI-GA.3033.003 Scripting Languages
11/14/2013 TypeScript
CS 5142 Cornell University
1
11/14/13
Concepts
Typing
? Strong typing = no implicit type conversion ? Weak typing = implicit type conversion ? Static typing = check for type errors at compile time ? Dynamic typing = check for type errors at run time
CS 5142 Cornell University
2
11/14/13
Concepts
Weak/Strong, Static/Dynamic Typing
Strong typing (explicit conversions)
ML
Java VBA
C
Weak typing (implicit conversions)
assembler
Static typing
(compile-time checks)
CS 5142 Cornell University 11/14/13
Scheme
PHP JavaScript
Perl
Dynamic typing (runtime checks)
3
JavaScript
Unexpected Behavior
$ node > '5' + 2 '52' > '5' - 2 3
$ node > '' == '0' false > 0 == '' true > 0 == '0' true
CS 5142 Cornell University
4
11/14/13
Concepts
Strong Typing
? Makes intention explicit ? Makes code easier to read/maintain ? Can catch certain types of errors ? Less likely to have "unexpected" behavior
CS 5142 Cornell University
5
11/14/13
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- design and uml class diagrams university of washington
- modern javascript for the impatient
- typescript cast any to number
- typeorm tutorialspoint
- doi 10 1145 3126905 a large scale study of programming
- on2ts typescript generation from owl ontologies and shacl
- csci ga 3033 003 scripting languages
- from javascript to typescript entwicklertag
- the inventory of the jeremy larner collection 613
Related searches
- batch scripting tutorial
- batch scripting cheat sheet
- clm 003 answers dau
- clm 003 ethics exam answers
- clm 003 answers
- clm 003 overview of acquisition ethics
- dau clm 003 ethics training
- clm 003 acquisition ethics training
- clm 003 overview of acquisition
- dau clm 003 test answers
- clm 003 overview of acquisition ethics pdf
- clm 003 test answer