Ghost equals ghost, but poison is false to steel
Ghost equals ghost, but poison is false to steel
The former is a matrix of arbitrary values intended to produce convenience. The latter is a matrix of arbitrary values intended to produce fun. In my experience, neither achieves its goal.
Adam compares PHP’s type comparisons to Pokémon’s elemental weaknesses. Sounds about right.