Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I don't feel experienced enough in mathematics writing to give advice. But I like Terry Tao's advice on writing mathematics papers; he also provides links to some other people's advice.