Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions rfc/15/comments/1/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
authors:
- name: Chris Barnes
github: clbarnes
affiliation: German BioImaging e.V.
orcid: 0000-0002-1296-7310
- name: Damien Goutte-Gattat
github: gouttegd
affiliation: German BioImaging e.V.
orcid: 0000-0002-6095-8718
- name: Johannes Soltwedel
affiliation: German BioImaging e.V.
orcid: 0000-0003-1273-2412
github: jo-mueller
date: "2026-12-01"
recommendation: accept
---

# RFC-15: Comment 1

(rfcs:rfc15:comment1)=

## Comment authors

```{document-authors}

```

## Conflicts of interest (optional)

None

## Breaking changes to unify case are a necessity

The benefits of consistent casing for developer experience have been discussed at length elsewhere.

It may not matter so much from the user perspective, on the basis that the increasingly complex OME-Zarr implementation details will almost always be abstracted away behind some other interface.

We believe that a key benefit of consistent casing is of public perception of the project.
OME-Zarr is the product of a huge amount of work, with robust development practices and broad community engagement.
Mixed casing is a "smell" which belies this and may tarnish newcomers' initial impression of the format and the community.
Case consistency is not difficult to get right, and we should not risk newcomers dismissing the format out of hand based on superficial flaws.

Requiring implementations to support multiple cases adds significant friction as support for aliasing varies wildly across languages and serialisation libraries.
While it's trivial in rust's `serde`, the popular python packages `pydantic`, `cattrs`, and `msgspec` all have significant usability problems around aliases.

## Discussing the actual merits of `snake_case` and `camelCase` is unproductive

While recently-popular programming languages seem to have trended towards `snake_case` (with the exception of Go), there is enough variety throughout software development history to suggest that there is no "correct" decision.
Certainly, there has been enough discussion across wider communities that I do not expect us to solve the debate here.

We could debate forever.
The only efficient path is to not bother debating at all and refer the decision elsewhere.

## `snake_case` is the "null" decision for consistency

- OME-Zarr metadata will always appear inside Zarr metadata (at time of writing)
- OME-Zarr implementations will generally wrap or work in concert with Zarr implementations
- Therefore, true consistency for OME-Zarr requires consistency with Zarr
- Zarr is internally consistent
- So we should use Zarr's convention (`snake_case`)

This decision does not require us to care about `snake_case` or `camelCase` (which we may not agree on);
it only requires us to care about consistency (which we should).

## Recommendation

Accept
9 changes: 9 additions & 0 deletions rfc/15/comments/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Comments

Additional comments of RFC-15:

```{toctree}
:maxdepth: 1
:glob:
*/index
```
6 changes: 6 additions & 0 deletions rfc/15/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ date: "2026-11-04"

(rfcs:rfc15)=

```{toctree}
:hidden:
:maxdepth: 1
comments/index
```

Use `snake_case` for all multi-word keys in the OME-Zarr metadata, matching the Zarr metadata in the same document.

## Status
Expand Down
Loading