Computer Science 340
Programming Languages
Fall 2023, Siena College
Lecture 17: Datatypes Wrapup; Expressions and Assignment Statements
Date: Tuesday, November 7, 2023
Agenda
- Announcements
- Language Project
[HTML]
[PDF]
- groups should be formed, repositories should be created and
shared already
- proposals due tomorrow night
- Problem Set 6: [HTML] [PDF] also due tomorrow night
- grading update on Problem Set 5: [HTML] [PDF] and Exam 2
- Programming Language of the Day: Bash
- Datatypes wrapup: type checking and type equivalence
- Expressions and assignments
Terminology
- expression
- operands
- operator
- arithmetic expression
- side effects
- referential transparency
- overloaded operator
- type conversions/coercions
- narrowing vs. widening conversions
- mixed-mode expressions
- cast
- relational operators
- logical operators
- short-circuit evaluation
Examples
Links