2 ms·
Why? Most companies are requiring auto formatters these days, so it doesn’t really matter if you can’t precisely align code.
by seanmcdirmid 3y ago
Why? Most companies are requiring auto formatters these days, so it doesn’t really matter if you can’t precisely align code.
- SoftTalker 3y agoReally? I've never used an autoformatter for anything ever, much less had one required. Which companies are these?
- seanmcdirmid 3y agoGoogle (I think they started the trend with Go?), Facebook, Amazon, … which companies “don’t” require auto formatters would be more interesting and specific.
- NBJack 3y agoGoogle leaves that as a team preference. Go certainly has highly opinionated style enforcement, but it is surprisingly not automatic formatting across the board. Amazon may have changed, but this is also not universal. Team preference, though they may be enforcing it in the older code base for the site (i.e. detail pages, etc.). Facebook is the only one on your list I can confirm does, in part perhaps due to the predominant language (Hack).
- hollerith 3y agoI'm curious what line-length limits these company's have (either imposed by an autoformatter or imposed by informal means).