BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
BEGIN:VEVENT
URL:https://www.learndesk.us/class/6534923311644672/lesson/844d664025d6f675d02091ba4b69b958?ref=outlook-calendar
SUMMARY:Notes
DTSTART;TZID=America/Los_Angeles:20260504T190000
DTEND;TZID=America/Los_Angeles:20260504T200000
LOCATION:https://www.learndesk.us/class/6534923311644672/lesson/844d664025d6f675d02091ba4b69b958?ref=outlook-calendar
DESCRIPTION: Week 3 Notes
============================================================================
* Week 2 Recap: Imperative vs Functional Programming

 - What was first programming paradigm we talked about?
   - Functional Programming:
      - Like Math formulas, just computing something, rather than doing a sequence of commands
      - variables always hold same value (like mathematics, cleaner, less freedom)
 - Last week talked about a second type:
   - Imperative (Sequential) Programming:
      - Sequence of steps (commands) makes up a program
      - Variables can be reassigned
      
- Something is fishy with sequential programming!

let x = 1
let y = x + 2
print(y)

- Can I do this:

let x = 1
x = x + 2
print(x)

error: cannot assign to value: 'res' is a 'let' constant

- What about this:
- use "var" if going to re-assign a variable:

var x = 1
x = x + 2
print(x)

- Never makes sense in math!
- But in sequential programming is common!
- variable x can have one value in one line and...

https://www.learndesk.us/class/6534923311644672/lesson/844d664025d6f675d02091ba4b69b958?ref=outlook-calendar
STATUS:CONFIRMED
SEQUENCE:3
BEGIN:VALARM
TRIGGER:-PT10M
DESCRIPTION:Class Reminder
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR