I hate this shit being routinely used in PHP. Symfony uses those functional comments for routing, essentially scanning every controller file as text on every visit, to gather the url patterns above functions. Laravel uses Reflection, which is functionally the same thing, to provide arguments to controller functions. Also, kind of related, the project I’m working now has few functions that use backtrace to return different results based on where they are called from. It is indeed very cursed and I’m ripping out any usages of them whenever I see one.
As long as it goes right from my house directly to where I need to go, take me and whomever I need exclusively, and also optionally be my own little space I could customize to my taste, then hell yeah, I’d take the tram.
But at this scale rails seem to be inefficient. PRT is where it’s really at.