🤔 Do you also end up with function names like this?
- publish_post
- do_publish_post
- finally_actually_publish_post
- now_its_time_to_really_publish_post
- and_here_actually_send_the_request_to_publish_post
What's the remedy? 🤣
🤔 Do you also end up with function names like this?
- publish_post
- do_publish_post
- finally_actually_publish_post
- now_its_time_to_really_publish_post
- and_here_actually_send_the_request_to_publish_post
What's the remedy? 🤣
@solnic These names read a like they just grew over time, as you learned more about what was actually involved in sending a post. My first step would be to spend some time thinking about what the workflow here really is.
That said, and guessing a bit about what the actual intent is, how about,
- submit_post
- queue_for_sending
[not sure about the middle two]
- send_post
@solnic Don't worry, with the power of my seniorness I will show you how to fix this. The remedy is `publish_post_v2`*.
* In some cases, this will actually double your problems. The odds are about 50/50.