OOP

Why type hints and interfaces are not visual debt

A few days ago I stumbled on a strange tweet that was highlighting a controversy about scalar type hints. After asking references about this, someone alluded to this very short video: “PHP Bits: Visual Debt” (it’s only 3 minutes, please watch it before continue reading). After that, the author of the video was dragged into the conversation, and it blew up into a big tweetstorm in the following few hours.