# Update Coding Style for ITK

**URL:** <https://discourse.itk.org/t/update-coding-style-for-itk/2055>\
**Category:** Engineering\
**Tags:** style\
**Created:** [July 17, 2019, 2:45pm UTC](https://discourse.itk.org/t/update-coding-style-for-itk/2055 "2019-07-17T14:45:37Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![hjmjohnson](https://discourse.itk.org/user_avatar/discourse.itk.org/hjmjohnson/32/23_2.png) [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Post date:** [November 4, 2020, 2:29pm UTC](https://discourse.itk.org/t/update-coding-style-for-itk/2055/20 "2020-11-04T14:29:26Z")

</div>

Niels,

My point of view is that the approved style is defined in the way that clang-format version 8 applied the settings defined in the ITK/.clang-format. If clang-format version 8 has a bug in it, then that bug becomes part of the style.

The emphasis is that an automation to keep the code clean and consistent takes precidence over a long list of manually enforced rules. Automation is key.

This seems to be an anomaly in the formatting with most of the code _NOT_ having a space. I suppose you could use [https://stackoverflow.com/a/25642688](https://stackoverflow.com/a/25642688)

```auto
// clang-format off
...
// clang-format on

```

to fix this clang-format anomaly.

---

_[View the full topic](https://discourse.itk.org/t/update-coding-style-for-itk/2055)._
