Magic is anything which makes other code behave in a way that would require reading the magic to understand, despite not being apparent in the magicked code.
Good because it makes many things a lot easier, bad because it makes code a lot less explicit and simple and increases cognitive load (you need to always consider the magic not just the current code you're looking at).
Magic is anything which makes other code behave in a way that would require reading the magic to understand, despite not being apparent in the magicked code.
Good because it makes many things a lot easier, bad because it makes code a lot less explicit and simple and increases cognitive load (you need to always consider the magic not just the current code you're looking at).