top | item 46173462

Kiss vs. DRY in Infrastructure as Code: Why Simple Often Beats Clever

4 points| prognostikos | 2 months ago |rosesecurity.dev

1 comment

order

palata|2 months ago

The first rule is: "have common sense".

When you say "this code is difficult to maintain because of [Kiss|DRY|you name it]", what you actually mean is that the code was badly written by the humans (or LLMs now?) who wrote it. Probably because of a lack of experience.

I don't see the point in comparing them. Nobody says "you should use this or that". You should just write maintainable code, and that's a job. You will improve with time.