dont repeat your self
有时候,你的小轮子。比如轮询。你可能只是根据业务写,但是其实封装的东西很不通用。 那怎么通用呢。
首先理解业务场景,比如轮询上传,需要做那些事;然后设计API;最好完成。 对于场景不清楚,可以多用用产品,多理解;多看其他人的设计。
Be the first to know when I post cool stuff
Subscribe to get my latest posts by email.
Thanks for signing up! Check your email to confirm your subscription.
Whoops, we weren't able to process your signup.