News for hackers. Stuff that matters.
Re:Want cleaner code? Use the rule of six by marginalia_nu on Saturday September 24, 2022 @05:32PM (#32966705)
Not everything is a neat concept though.

Look at the Porter stemming algorithm for example. It simply does not decompose into something that is easy to put names on.

Re:Want cleaner code? Use the rule of six by dqpb on Saturday September 24, 2022 @06:03PM (#32966926)
> A consonant will be denoted by c, a vowel by v. A list ccc... of length greater than 0 will be denoted by C, and a list vvv... of length greater than 0 will be denoted by V. Any word, or part of a word, therefore has one of the four forms: CVCV ... C CVCV ... V VCVC ... C VCVC ... V

Looks fine to me.