- 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.
推薦閱讀
- ASP.NET MVC4框架揭秘
- Mastering Selenium WebDriver
- 算法大爆炸:面試通關(guān)步步為營(yíng)
- 面向STEM的Scratch創(chuàng)新課程
- MATLAB實(shí)用教程
- PostgreSQL 11從入門(mén)到精通(視頻教學(xué)版)
- Mastering macOS Programming
- Learning Data Mining with R
- 程序員修煉之道:通向務(wù)實(shí)的最高境界(第2版)
- Spring+Spring MVC+MyBatis整合開(kāi)發(fā)實(shí)戰(zhàn)
- 移動(dòng)界面(Web/App)Photoshop UI設(shè)計(jì)十全大補(bǔ)
- Node.js:來(lái)一打 C++ 擴(kuò)展
- Learning jQuery(Fourth Edition)
- Android群英傳
- 工業(yè)機(jī)器人離線編程