Comment by BoppreH

Comment by BoppreH 20 hours ago

0 replies

I think that's a very important point, but I wouldn't call `or die()` an affordance. A common idiom, perhaps.

A common affordance that invites mistakes is a library that has something like `file_exists(path)` (because it often introduces hard-to-debug race conditions), or `db.query(string)` (because it invites string interpolation and SQL injection).