Skip to content
Discussion options

You must be logged in to vote

Many of our templates are what I would call hairy.

Quite often caused by someone trying to be way too smart and using a long pipeline of obscure functions instead of a "for if../if loop.first" construct ;)

  • it's almost incomprehensible by design. It is not a piece of SW designed for legibility. Go down 3 levels in a for loop, and you have to spend too many mental cycles to understand that crap.

I worked with at least four "templating languages" (including XSLT), and they all suck in one way or another. I also had the privilege of having to deal with PHP code interspersed with verbatim text, and I wouldn't want to repeat that experience. I don't think there's a good way of solving the…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DanPartelly
Comment options

DanPartelly Jul 18, 2026
Collaborator Author

@jbemmel
Comment options

jbemmel Jul 18, 2026
Collaborator

@DanPartelly
Comment options

DanPartelly Jul 19, 2026
Collaborator Author

@ipspace
Comment options

Answer selected by DanPartelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants