Code Styling
A best practice sometimes missed in course CS courses is Code Styling. In Industry, each company may have its own set of style guides. Styles including issues like: how to name classes, how to name variables and methods/functions, how to indent, where to place {}, etc. Here are a few examples from Google of their style guides:
Also, here are some tools for Github and Bitbucket that can help with style checks.
|
Antoine Pickard, Staff Google Software Engineer "Code styling is important when you have multiple developers sharing the same code. The Google style guides (publicly available) are a good starting point. You don't have to take Google's recommendations but you should establish a standard to cover the things that it covers. " |