X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=slides%2Fkeyword-break.html;fp=slides%2Fkeyword-break.html;h=ddf82c1cf338e3ec71c9cf923a7c4242cf8d4dc7;hb=2def5210d568279bb38890c2de282e171f4ff7dd;hp=08013f3f0f2d5c21a212040f7dbf06d7d88f86fc;hpb=31407ccd2650f1467329b8aece52a2b889d53341;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 ---