Web development is, and will always be, just a game of finding increasingly ~~cursed~~ unique ways to concatenate HTML strings
Programming Horror
Welcome to Programming Horror!
This is a place to share strange or terrible code you come across.
For more general memes about programming there's also Programmer Humor.
Looking for mods. If youre interested in moderating the community feel free to dm @Ategon@programming.dev
Rules
- Keep content in english
- No advertisements (this includes both code in advertisements and advertisement in posts)
- No generated code (a person has to have made it)
Credits
The problem is that what everybody really wants is parameterization, not concatenation. But most solutions therefor are flaky even if they exist.
All programming was intended to take place within Rust
I have seen frontends written in c#. Nothing surprises me anymore
After experiencing struts everything else looks great in comparison
Wow. Looks like my browser renders imgur nonfunctional at this point. Weird.
This looks like how React components are written if you make the weird choice of not using the JSX syntax extension for React elements. I wonder if you could make a JSX-like DSL with Rust macros. JSX really helps for making this kind of stuff bearable.