Avatar
jgomo3
552b4d02f9db02f11bda4b4c1cdefe8852c6c6b6ca0e03b7013f182c854413b7
Un padre de familia computista / A computist Family father / komputilisto / @jgomo3 / https://jgomo3.info/
Replying to Avatar unclebobmartin

I don't understand the question. Could you elaborate?

From: jgomo3<-randymcmi... at 10/09 13:33

> nostr:npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft, reading your Functional Design book.

>

> I have a question regarding style.

>

> Why in the following snippet (page 208) you prefered not to destruct the turtle key from the state, as you did with the channel?

>

>

>

>

>

CC: #[3]

As the picture shows, the `update-state` function receives an `state`. In the function's signature, you destructure `state` extracting `channel` from it. I wonder why you didn't extract also `turtle` in that moment?. You prefered to get the `turtle` explicitly in the `let` expression instead.

I think it was a matter of taste, or style. Maybe related to the fact that `turtle` inside the `let` body is a derivates value from the original `turtle` you get from `state`.

nostr:npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft, reading your Functional Design book.

I have a question regarding style.

Why in the following snippet (page 208) you prefered not to destruct the turtle key from the state, as you did with the channel?

This arrived yesterday šŸ¤“

[off topic] How was this community created? How can I create my own community?

How could be Nostr used to discuss specific topics?

I would like to have an space to discuss an specific topic, which a web forum could satisfy. But I'm thinking that here maybe it is possible, at least publicly.

(spanish) Notas y reflexiones personales acerca de la primera sesión de la clase magistral de Arquitectura y diseño (de software) de nostr:npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft.

https://jgomo3.info/posts-output/2023-09-10-clase-magistral-de-arquitrctura-y-dise%C3%B1o-tio-bob-01/