- Hands-On Design Patterns with React Native
- Mateusz Grzesiukiewicz
- 131字
- 2021-08-13 15:13:02
Linters and code style guide
In this section, we will take a look at quite a different set of patterns, namely, patterns on how to structure your code. Over the years, there have been tens of approaches to styling, and the general rule is this: the more people, the more preferred ways there are.
Hence, the crucial point of setting up the project is selecting your style guide, and your set of defined and precise rules. This will save enormous amounts of time for you as it removes any potential discussion.
In an era of advanced IDEs, it is possible to quickly reformat a whole code base in seconds. This will come in handy in case you need to allow for small future changes to the style of your code.
推薦閱讀
- C語言程序設(shè)計(第2 版)
- R的極客理想:工具篇
- MongoDB權(quán)威指南(第3版)
- ASP.NET程序設(shè)計教程
- Node.js:來一打 C++ 擴(kuò)展
- Advanced Express Web Application Development
- Android傳感器開發(fā)與智能設(shè)備案例實戰(zhàn)
- Learning Material Design
- Web性能實戰(zhàn)
- 硬件產(chǎn)品設(shè)計與開發(fā):從原型到交付
- WCF技術(shù)剖析(卷1)
- DevOps 精要:業(yè)務(wù)視角
- 測試工程師Python開發(fā)實戰(zhàn)
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- Visual FoxPro數(shù)據(jù)庫程序設(shè)計