Open huan opened 3 years ago
Quota from https://documentation.divio.com/tutorials/#focus-only-on-the-steps-the-user-needs-to-take
Your tutorial needs to be focused on the task at hand. Maybe the command you’re introducing has many other options, or maybe there are different ways to access a certain API. It doesn’t matter: right now, your learner does not need to know about those in order to make progress.
As the mainstream of the Wechaty ecosystem is planning to focus on Functional Programming and Redux in the future, so I'm going to keep all Polyglot Wechaty documentations to be aligned to the TS Wechaty functional programming methods.
Please feel free to let me know if there are any suggestions.
@huan Ok, I will remove the suggested method two coding style to align the TS wechaty funcitonal programing methods. It's a great consideration for the whole wechaty documentation.
The Python version recipe in https://wechaty.js.org/docs/recipes/event has two methods to finish one task, which will puzzle the new developers:
The goal of the recipe code is to show the new developers how to do a specific task, like receive the scan QR code, I think there are two issues we need to discuss and improve:
So my suggestion would be:
The OOP method can be introduced as an advanced feature in Polyglot Wechaty: Python
@wj-Mcat Please let me know what you think, thank you very much.