X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=slides%2Fkeyword-break.html;h=ddf82c1cf338e3ec71c9cf923a7c4242cf8d4dc7;hb=995a501e53864ff95b984e846966162d851ee9b9;hp=08013f3f0f2d5c21a212040f7dbf06d7d88f86fc;hpb=d811998d5948d7ce4e801b9deeec0d6d6dd37553;p=cipher-training.git diff --git a/slides/keyword-break.html b/slides/keyword-break.html index 08013f3..ddf82c1 100644 --- a/slides/keyword-break.html +++ b/slides/keyword-break.html @@ -115,7 +115,11 @@ for each key: Repetition of code is a bad smell. -Separate the 'try all keys, keep the best' logic from the 'score this one key' logic. +Separate out + +* enumerate the keys +* score a key +* find the key with the best score ---