Well, it's not a replacement for
Elements. But there are certain things that it manages to explain better, like the flip-flops, so it can serve as a companion book to
Elements. I actually read
Code first and loved it. I then stumbled on TECS while searching for more.
There's also
But How Do It Know? but I haven't read it, so I don't know how good it is. Again it looks an entry level book.