Computer Science 340
Programming Languages
Fall 2019, Siena College
Lecture 21: Expressions and Assignment Statements
Date: Monday, October 28, 2019
Agenda
- Announcements
- Language Project
[HTML]
[PDF]
- checking in the shared document so we can finish developing
the areas of interest and forming groups and to get your
proposals together
- remember: create your own repositories (no GitHub Classroom
link), but send me a link if they're public, an invitation to
join with at least read access if they're private
- Problem Set 5: [HTML] [PDF] due tonight
- Problem Set 6 will be out soon
- Read Sebesta Ch. 8 for Wednesday, but we will not have
group answers to the questions for this chapter
- 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