Sometimes when I’m working on a script, automation, template entity, or package when it’s late and I’m getting too tired, or too drunk, I’ll disallow myself to touch the actual config anymore. But since I can’t stop thinking about it I’ll leave myself a note inside a comment in the appropriate spots and pray that I can make heads or tails of it when I read it again.
2 days ago I wrote myself the following and have only a vague memory of having done so…
# if player_id|has_value then great (standard call script action),
# else if node.user_name is defined
# and context.id
# and domain.player_id_~node.user_name|mapped|has_value then great (frontend call, user specific),
# else fuck-off
I opened up the file today… It made me laugh and I understood exactly what I had in mind at the time… win win.
Does anyone else do this in a similarly absurd manner?