#dontrepeatyourself — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dontrepeatyourself, aggregated by home.social.
-
As a bonus I achieved these:
6. Feature branches test with latest Perl 5.38 as fast as possible. "master" is tested with code coverage and on oldest Perl 5.32, too.
7. New pushes automatically cancel running pipelines on the same branch
8. Merge request pipelines are completely disabled. This is GitLab’s simple default but needs explicit specification if "rules:" is used at all.
9. I used #YAML anchors and "extends" keywords (inheritance of job specifications) for DRY #DontRepeatYourself
-
This is me (as developer):
I learned this from #ChatGPT Plus, and I feel so good now, there are actually known abbreviations for how I code. #KISS 💋 I already knew. I like that one too.
For example: in my .NET Web API controllers I only use services if I need to duplicate code.
I'm not saying this is right or wrong, good or bad, it's just how I do it. I can always refactor later.
#DontRepeatYourself
#YouArentGonnaNeedIt
#KeepItSimpleStupid
#dotNET #ChatGPT4 -
If your code isn't DRY enough, it will rot.