dcoderlt,
@dcoderlt@ohai.social avatar

Unpopular opinion:

Writing HTML through template engines like Twig is like writing C through preprocessor macros. It has its place, but it should not be glamorous or default.

“So my daughter tells me you write HTML by hand, like I used to”
“Yes, I write plugins that contain Twig templates that extend Twig templates in the theme we use, that extend Twig templates in the platform’s base package”
“You have exactly 10 {{ ‘second’|plural(10) }} to get the fuck out of my house”

nf3xn,
@nf3xn@mastodon.social avatar

@dcoderlt High and low level programmers. I guess what is going there is that the dev only looks as far as they need to go right? They are not even aware of the nuts and bolts or even why it would be bad.

Does this happen with django, rails, liquid idk?

Ironically the ultimate high level devs - react frontend people are discovering/reinventing 'server components' at the moment.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • magazineikmin
  • mdbf
  • thenastyranch
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • hgfsjryuu7
  • ngwrru68w68
  • osvaldo12
  • kavyap
  • ethstaker
  • PowerRangers
  • Leos
  • Durango
  • khanakhh
  • everett
  • cubers
  • GTA5RPClips
  • modclub
  • cisconetworking
  • vwfavf
  • tacticalgear
  • tester
  • normalnudes
  • anitta
  • provamag3
  • All magazines