January 2020
Intermediate to advanced
640 pages
16h 56m
English
Tabs or spaces? Should opening braces be preceded by line breaks? All engineers eventually face this dilemma when the time comes to choose a particular code formatting style for a new project or a project they've just inherited.
Source code formatting styles have always been the subject of long, often heated, arguments between team members. Contrary to other programming languages, Go is, by design, strongly opinionated toward a specific formatting style and ships with tools that help enforce that particular style. This design decision makes sense as Go was initially created with the goal of being used by the thousands of engineers employed by Google. At this massive development scale, ...