andrewrk / andrewrk/andrewkelley.me

blog idea: arguments against aligning code

オープン
#5 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
HTML
スター
24
フォーク
5
平均マージ
9分
マージ済み PR(30日)
1

説明

- wastes time, doesn't actually accomplish anything
- makes merge conflicts more likely to occur, because you have to edit multiple irrelevant lines to keep the indentation
- breaks consistency which is nice for grepping (consider searching for 'variablename =')
- it's aesthetic - it's not really a deterministic rule to know how to align. and if you do invent deterministic style guide rules for aligning code, that's way too much to ask a contributor to know a bunch of arbitrary rules for doing something that doesn't actually matter.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。