News for hackers. Stuff that matters.
Re:We need to talk about parentheses by taeric on Monday February 12, 2024 @01:29PM (#39348460)
It helps to basically vocalize what the code is doing. It is a "let" form, which has a list of variables, and then a body section using them. (It is a "let*", which also means that the variables can refer to variables that come before them, but not too relevant here.)

To that end, the first () in a "let" should be of the forms (name value), where value can be a longer form, if needed.

To that end, the last (name value) in the list should almost always look like (name value)), as it is closing the first in the list, that is ((name value).

There are no comments on this comment yet.