Question 1 @ 2023-01-17 18:14
Which of these subjects is going to be the most important one in this class?
- Syntax
- Semantics
- Idioms
- Typechecking
- Compilation vs Interpretation
Question 2 @ 2023-01-17 18:17
Which of these subjects is going to be the second most important one in this class?
- Syntax
- Semantics
- Idioms
- Typechecking
- Compilation vs Interpretation
Question 3 @ 2023-01-17 18:19
Which of these subjects is going to be the least important one in this class?
- Syntax
- Semantics
- Idioms
- Typechecking
- Compilation vs Interpretation
Question 4 @ 2023-01-17 18:21
What are the problems in this definition:
(define (how-many a b c)
(cond [(> (* b b) (* 4 a c)) 2]
[(= (* b b) (* 4 a c)) 1]
[(< (* b b) (* 4 a c)) 0]))
- Repeated code
- Implicit
Void
type
- Non-idiomatic use of square brackets
- Slower than needed