Formatting: Difference between revisions

From ym2149.org
Jump to navigationJump to search
(Created page with "* half the available effort in the ecosystem seems wasted on writing formatters * claims made by formatters don't check out in practice, e.g. you actually have to think more about formatting when one is in use * make the ide present each developer's preferred format, with the committed format optimised for resolving conflicts * nobody needs at most 80 columns, join us in the 21st century ** a column limit causes similar code to be indented differently which interferes wh...")
 
No edit summary
 
Line 1: Line 1:
* half the available effort in the ecosystem seems wasted on writing formatters
* half the available effort in the ecosystem seems wasted on writing formatters
* claims made by formatters don't check out in practice, e.g. you actually have to think more about formatting when one is in use
* claims made by formatters don't check out in practice, e.g. you actually have to think more about formatting when one is in use
** you can game the formatter to save space for example, which can make the code uglier
* make the ide present each developer's preferred format, with the committed format optimised for resolving conflicts
* make the ide present each developer's preferred format, with the committed format optimised for resolving conflicts
* nobody needs at most 80 columns, join us in the 21st century
* nobody needs at most 80 columns, join us in the 21st century

Latest revision as of 10:27, 22 April 2024

  • half the available effort in the ecosystem seems wasted on writing formatters
  • claims made by formatters don't check out in practice, e.g. you actually have to think more about formatting when one is in use
    • you can game the formatter to save space for example, which can make the code uglier
  • make the ide present each developer's preferred format, with the committed format optimised for resolving conflicts
  • nobody needs at most 80 columns, join us in the 21st century
    • a column limit causes similar code to be indented differently which interferes when resolving conflicts