I don't recall a formal decision about Scala 3's Python-style
indent-sensitive syntax stuff.

Did we formally agree that we will reject any Scala 3 code that depends on
indents in the primary Daffodil code base?

I know we have "-no-indent" in our build.sbt which enforces this, but I
don't see the keyword "no-indent" in the dev list email history.

I also thought we had a coding-style guide on our Wiki, but could find only
this


https://cwiki.apache.org/confluence/display/DAFFODIL/Coding+for+Performance

We should consider writing a scala coding style guide that subsumes that
page, and that justifies our scalafmt and other guidance that we otherwise
have to enforce in ad-hoc review comments.

FYI: Some of the arguments in favor of no-indent are well made in a recent
blog

    https://alexn.org/blog/2025/10/26/scala-3-no-indent/

Though there are numerous more arguments why in large code bases, as
opposed to smaller scripts/tools, this indent-oriented syntax is
problematic.

Reply via email to