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
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