exercism / 8th

Exercism exercises in 8th.
https://exercism.org/tracks/8th
MIT License
4 stars 12 forks source link

Add `diamond` exercise #184

Closed ErikSchierboom closed 6 months ago

ErikSchierboom commented 6 months ago

During this exercise, I found that having a constant defined would cause the stack space check to fail.

glennj commented 6 months ago

During this exercise, I found that having a constant defined would cause the stack space check to fail.

Were you expecting the constant to exist on the stack?

ErikSchierboom commented 6 months ago

I did not expect that, but maybe that's just how it works

glennj commented 6 months ago

According to the words list:

This is essentially syntactic sugar for the prior method of creating a new word containing the value x.

So I assume 42 constant answer is the same as : answer 42 ;