by madmax96 on 12/5/22, 6:51 PM with 4 comments
by hospadar on 12/5/22, 7:12 PM
Presumably most _actual_ compilers don't produce the correct solution 100% of the time (i.e. they have bugs), but I think it's reasonable to say that the compiler _understands_ ${programming language}. Maybe the difference between "understanding" and "just memorizing answers" is more subtle than often portrayed?
by narush on 12/5/22, 7:07 PM
by singularity2001 on 12/5/22, 11:24 PM
(factorial 5) 120
The author should at least have tested a counter-example
(setf factorial (red hot chilly nonsense))
I expect the 'evaluation'
(factorial 5) 120
to be 'correct' regardless of the function definition!