What is Nostr?
Joe Lanman /
npub1yp6…mz76
2024-02-02 20:26:49

Joe Lanman on Nostr: naming things eh? What would you do in this situation: On a web page, I have a macro ...

naming things eh? What would you do in this situation:

On a web page, I have a macro to render a post, and a post data object.

`renderPost(post)`

or

`post(postData)`

or something else? I'm leaning to `renderPost` but then every macro will be called `renderThing` which seems odd

#webdev
Author Public Key
npub1yp6sxzjvmmymnfu42t69e9n8qevvraa7tvl75t8q9t7t0a2m86dsndmz76