One of the strangest ironies of my career is that the smartest developers often write the worst code. Their perfect memories enable them to effortlessly work with infinite layers of abstraction and write the most clever solutions imaginable to any problem.
Having just experienced my first "brain rape" from a recent YC grad I concur. The behavior of Amjad is similar to what I experienced interviewing (and apparently performing free consulting) with the company I was just speaking with.
Maybe these situations are not the norm, but they are certainly happening.