[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Closures - do you understand them well?
From: |
Michael Heerdegen |
Subject: |
Re: Closures - do you understand them well? |
Date: |
Fri, 09 Dec 2022 00:25:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> The exercise originates from a mistake I made myself a while ago.
> Sometimes your brain establishes shortcuts that lead to wrong
> assumptions. It's human to fall into such traps.
But I see that exercises that are just traps can be demotivating.
I'm not sure how to write more motivating exercises, however, how would
they look like? Maybe like, you think it returns 3 but instead it
returns...the perfect Christmas present you were looking for?
#+begin_src emacs-lisp
(if (you-think-this-is-non-nil-but-isnt)
3
"You should buy XYZ.")
#+end_src
Have to think about it...
Michael.
- RE: Iteration macros (was: [External] : Re: Closures - do you understand them well?), (continued)
- RE: Iteration macros (was: [External] : Re: Closures - do you understand them well?), Drew Adams, 2022/12/10
- Re: [External] : Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/21
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/08
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/08
- Re: Closures - do you understand them well?, tomas, 2022/12/08
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/09
- Re: Closures - do you understand them well?, Michael Heerdegen, 2022/12/09
- Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/10
Re: Closures - do you understand them well?, Eric Abrahamsen, 2022/12/08
Re: Closures - do you understand them well?, Emanuel Berg, 2022/12/08