Re:Don't DRY Your Code Prematurely
by adrianmonk on Thursday May 30, 2024 @04:53PM
(#40528598)
> "blindly-drying"
Right. It's not an optimization problem!
Remember in school when you learned to turn a truth table into a Karnaugh map and then use it to find the smallest equivalent logic expression? Well, your code is not a Karnaugh map, is it?
Right. It's not an optimization problem!
Remember in school when you learned to turn a truth table into a Karnaugh map and then use it to find the smallest equivalent logic expression? Well, your code is not a Karnaugh map, is it?