Is there value in `.holo` templates?

I am (still) working on a formatter for HOLO sigil templates. As part of my development and testing, I have enabled formatting for .holo files and created an example.

I am wondering if this will ever make sense in Hologram-at-large. Would it be reasonable to elide the template/0 definition from, say, the user.ex component and have a user.holo template file in the same path transcluded at compilation?

I don’t actually have a deeply held opinion. I can see it appearing to be “spooky action at a distance” or “convenient to separate concerns” in neatly equal measures.

IMO, no. Single-file components are better. Generally, Hologram should be opinionated and have fewer ways to do things.

3 Likes