2026-05-05 06:21 UTC
Functions that do different things depending on context. I call them Janus functions, after the Roman god. They can add hours of entertainment when learning an unfamiliar code base.
Replies (2)
-
@bnlandor@mastodon.social 2026-05-05 08:53
@rollbear@fosstodon.org context, as in global variables? 🫣 Sounds like fun and games.
-
@fbulow@mastodon.social 2026-05-05 12:37
@rollbear@fosstodon.org That name is perfect in every way. I'll be using from now on. Nothing like a bit of mythology to spice up a PR comment.