如何写一篇好文章

  • 文章不要太长,简明扼要,代码只帖关键代码(微信公众号单篇文章不能超过5万字)
  • 注意标题层级和段落对齐,排版要美观
  • 手机屏幕宽度有限,代码注意换号,不要出现一行代码不换行特别长的那种
  • 代码中不要留无关注释,注释也要注意换行,代码块左边不要留空白
  • 日志只保留输出内容,去掉日期和包名等前缀信息
  • 知道读者心中的疑惑,知道这篇文章需要解决读者的哪些问题

还有:

首先,如果你写文章的目的是为了给自己看,那怎么写都无所谓,如果,你写的文章是给别人看的,那么我的理解是这样的:

1.针对简单概念,你要介绍的全面,理论配合demo,能够让一个不懂的人看了之后懂了

2.针对有点难度的概念,你要一步一步地详细介绍,让刚入门的小伙伴们能够仿照你的例子做出来

3.针对底层的东西,比如源码,你要能把大致流程说清楚,并且能够结合源码分析出上层的东西。

这是我所认为写一篇好的文章所应该达到的,总之,我们要明白,写出来的文章主要是给别人看的,写的时候要考虑这么一个问题:如何写才能让别人更好地理解,这样,好文章自然就出来了。

“如何写一篇好文章”的17个回复

  1. Thanks for all your valuable hard work on this blog. Gloria loves setting aside time for research and it is simple to grasp why. My partner and i learn all regarding the lively mode you make very important tips and tricks on this website and therefore inspire response from other individuals on the idea so our child is now understanding a lot of things. Enjoy the remaining portion of the year. You are always performing a really great job.

  2. Thank you for all your labor on this web site. My niece takes pleasure in getting into investigations and it’s really obvious why. A lot of people hear all concerning the dynamic method you provide informative techniques by means of the blog and therefore welcome participation from other people on this topic plus our simple princess is starting to learn a lot of things. Have fun with the remaining portion of the new year. You have been conducting a powerful job.

  3. I precisely had to thank you very much all over again. I’m not certain the things I would’ve tried without the entire concepts shown by you on such a topic. It had become a very traumatic situation for me, however , being able to view this well-written tactic you treated it forced me to leap for contentment. Now i am grateful for the help and pray you find out what a great job your are carrying out teaching men and women through your web blog. Probably you’ve never encountered any of us.

  4. My wife and i ended up being really happy that Chris could round up his inquiry using the precious recommendations he received while using the web page. It’s not at all simplistic to simply always be releasing tips and hints most people might have been making money from. And we take into account we have got you to appreciate because of that. The specific explanations you have made, the straightforward blog navigation, the friendships your site assist to engender – it is everything impressive, and it’s really letting our son in addition to our family imagine that this subject matter is fun, which is pretty essential. Thank you for the whole lot!

  5. Thank you for all your valuable labor on this site. Kate delights in working on investigations and it’s obvious why. We all notice all relating to the compelling way you offer advantageous steps by means of this web blog and therefore welcome response from website visitors on the matter and our girl is certainly studying a whole lot. Take advantage of the rest of the new year. You are performing a very good job.

  6. I wish to express appreciation to you just for rescuing me from this particular setting. As a result of looking out through the online world and obtaining tips which were not pleasant, I figured my entire life was gone. Existing minus the answers to the difficulties you have sorted out as a result of your main report is a critical case, and ones that could have badly damaged my career if I hadn’t noticed your web blog. Your own personal expertise and kindness in playing with all the things was vital. I’m not sure what I would’ve done if I hadn’t encountered such a thing like this. I am able to at this time relish my future. Thanks very much for your professional and sensible help. I will not think twice to recommend your web sites to any individual who should get direction on this area.

  7. I simply needed to say thanks all over again. I am not sure what I could possibly have tried in the absence of those tactics contributed by you concerning such a area. It previously was a scary circumstance in my view, but observing a professional avenue you managed it took me to weep with happiness. Now i am thankful for the assistance and then have high hopes you are aware of a great job you are providing teaching others all through your site. I am certain you have never encountered any of us.

  8. I have to point out my affection for your kind-heartedness supporting individuals that require help with the concept. Your very own commitment to getting the solution around appeared to be really valuable and have without exception made men and women just like me to arrive at their pursuits. Your useful tips and hints entails this much to me and even further to my fellow workers. Thanks a ton; from each one of us.

  9. Thank you for all of the labor on this web page. Gloria really likes participating in research and it is obvious why. A number of us know all about the dynamic tactic you create practical tricks by means of your website and in addition inspire contribution from visitors on this issue plus my princess is in fact being taught so much. Take pleasure in the rest of the new year. You have been carrying out a brilliant job.

发表评论

电子邮件地址不会被公开。 必填项已用*标注