52
submitted 11 months ago* (last edited 11 months ago) by akash_rawal@lemmy.world to c/programming_horror@programming.dev
top 10 comments
sorted by: hot top controversial new old
[-] Hexarei@programming.dev 27 points 11 months ago

Web development is, and will always be, just a game of finding increasingly ~~cursed~~ unique ways to concatenate HTML strings

[-] cadekat@pawb.social 4 points 11 months ago

One day I'll find a reason to use html!. One day.

[-] o11c@programming.dev 2 points 11 months ago

The problem is that what everybody really wants is parameterization, not concatenation. But most solutions therefor are flaky even if they exist.

[-] ILikeBoobies@lemmy.ca 12 points 11 months ago

All programming was intended to take place within Rust

[-] Zeth0s@lemmy.world 8 points 11 months ago* (last edited 11 months ago)

I have seen frontends written in c#. Nothing surprises me anymore

[-] etler@programming.dev 2 points 11 months ago

After experiencing struts everything else looks great in comparison

[-] Ferris@discuss.online 2 points 11 months ago

Wow. Looks like my browser renders imgur nonfunctional at this point. Weird.

[-] Macil@programming.dev 2 points 11 months ago* (last edited 11 months ago)

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.

[-] autokludge@programming.dev 2 points 11 months ago* (last edited 11 months ago)

after a quick search ... https://github.com/bodil/typed-html also leptos uses something similar

[-] hairyballs@programming.dev 2 points 11 months ago

Genuine question: what's wrong with templating engines?

this post was submitted on 29 Aug 2023
52 points (94.8% liked)

Programming Horror

1634 readers
1 users here now

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

Credits

founded 1 year ago
MODERATORS