It seems what the author learned is that "programming languages sometimes let you do things in the wrong order", which is so obvious that it's kind of a non-observation.
Anyway, functional programming on its own doesn't get you there, but functional programming with a solid type system does prevent this bug from happening.
Anyway, functional programming on its own doesn't get you there, but functional programming with a solid type system does prevent this bug from happening.