It would make sense to extract some submodules from Todo.elm, e.g. Model, View, Messages, Update.
A big file is difficult to understand in a single read, whereas having submodules exposes the underlying structure. More importantly, I feel like there's no strong convention for containing different parts of a typical Elm application. Maintaining a single file is increasingly difficult, and suggesting a standard set of submodules would be beneficial for the community.
I'll be happy to work on a PR if this idea gets accepted.
It would make sense to extract some submodules from
Todo.elm
, e.g. Model, View, Messages, Update.A big file is difficult to understand in a single read, whereas having submodules exposes the underlying structure. More importantly, I feel like there's no strong convention for containing different parts of a typical Elm application. Maintaining a single file is increasingly difficult, and suggesting a standard set of submodules would be beneficial for the community.
I'll be happy to work on a PR if this idea gets accepted.