新刊『リーダブルコード』が6/23に発売されますが、すでに誤植がありました。『リーダブルコード』がInterropで先行発売されたようです。 私の手元にはまだ書籍がありませんが、先行で手に入れた方のツイートで誤植のあることに気が付きました。 具体的には、第1章にある「1.1 「優れた」コードって何?」のサンプルコードが間違っていました。 (1) for (Node node = list-head; node != NULL; node = node-next) Print(node-data); ↓ for (Node* node = list->head; node != NULL; node = node->next) Print(node->data); (2) Node node = list-head; if (node == NULL) return; while (node