PPT-CSE341: Programming Languages
Author : jane-oiler | Published Date : 2016-03-13
Lecture 18 Static vs Dynamic Typing Dan Grossman Fall 2011 Static vs dynamic typing A big juicy essential topic about how to think about PLs Conversation usually
Presentation Embed Code
Download Presentation
Download Presentation The PPT/PDF document "CSE341: Programming Languages" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
CSE341: Programming Languages: Transcript
Lecture 18 Static vs Dynamic Typing Dan Grossman Fall 2011 Static vs dynamic typing A big juicy essential topic about how to think about PLs Conversation usually overrun with halfinformed opinions . Classification of programming languages. “There are only two kinds of programming languages: those people always bitch about and those nobody uses.”. --. Bjarne. . Stroustrup. 1. . Generated using wordle.net from the text of this ppt file. Lecture 14. Introduction to Racket. Dan Grossman. Fall 2011. Racket. Next 2+ weeks will use the Racket language (not ML) and the . DrRacket. programming environment (not . emacs. ). Installation / basic usage instructions on course website. Introduction To Ruby; Dynamic OOP; "Duck Typing". Alan Borning. Autumn 2012. (slides borrowed from Dan Grossman). The plan. Lecture materials may not recount every little language feature we use. Thomas book . Classification of programming languages. “There are only two kinds of programming languages: those people always bitch about and those nobody uses.”. --. Bjarne. . Stroustrup. 1. . Generated using wordle.net from the text of this ppt file. CS 170b. Benjamin Gaska, much help from William Mitchell. What is a programming language. A simple definition:. A system for describing computation.. It is generally agreed that in order for a language to be . Lecture 14. Thunks. , Laziness, Streams, . Memoization. Dan Grossman. Winter 2013. Delayed evaluation. For each language construct, the semantics specifies when . subexpressions. get evaluated. In ML, Racket, Java, C:. Lecture 17. Implementing Languages Including Closures. Dan Grossman. Autumn . 2018. Typical workflow. Autumn 2018. 2. CSE341: Programming Languages. "(. fn. x => x x) 4". Parsing. Call. Function. Lecture 24. Subtyping . Dan Grossman. Autumn . 2018. Last major topic: Subtyping. Build up key ideas from first principles. In . pseudocode. because:. No time for another language. Simpler . to first show subtyping without objects. Lecture 18. Static vs. Dynamic Typing. Dan Grossman. Autumn . 2018. Key differences. Racket and ML have . much. . . in common. Key differences. Syntax. Pattern-matching vs. . struct. -tests and . accessor. Lecture 19. Introduction to Ruby and OOP. Dan Grossman. Autumn . 2018. Ruby logistics. Next two sections use the Ruby language. http://. www.ruby-lang.org/. Installation / basic usage instructions on course website. Lecture 22. OOP . vs. Functional Decomposition; Adding Operators & Variants; . Double-Dispatch . Dan Grossman. Autumn . 2018. Breaking things down. In functional (and procedural) programming, break programs down into . Lecture . 6. Tail Recursion, Accumulators, Exceptions. Dan Grossman. Fall 2011. Two unrelated topics. Tail recursion. Exceptions. Fall 2011. 2. CSE341: Programming Languages. Recursion. Should now be comfortable with recursion:. Lecture 17. Implementing Languages Including Closures. Dan Grossman. Spring 2013. Typical workflow. Spring 2013. 2. CSE341: Programming Languages. "(. fn. x => x + x) 4". Parsing. Call. Function. Lecture . 6. Nested Patterns. Exceptions. Tail Recursion. Dan Grossman. Spring . 2013. Nested patterns. We can nest patterns as deep as we want. Just like we can nest expressions as deep as we want. Often avoids hard-to-read, wordy nested case expressions.
Download Document
Here is the link to download the presentation.
"CSE341: Programming Languages"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.
Related Documents