this collection of thoughts on software development gathered by grug brain developer

grug brain developer not so smart, but grug brain developer program many long year and learn some things although mostly still confused

grug brain developer try collect learns into small, easily digestible and funny page, not only for you, the young grug, but also for him because as grug brain developer get older he forget important things, like what had for breakfast or if put pants on

  • syl@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    10 months ago

    I hate complexity. A few years ago, I wanted to add some feature to some personal code of mine. But I just couldn’t figure out how to do that without rewriting a significant portion of it to allow for that. There was another feature (let’s call it feature 2) that just added so much complexity to the code that made things hard. I had an absolute stroke of genius: Just delete feature 2. This probably sounds stupid but I felt like a goddamn genius. Just deleting something solved all my problems.

  • learningduck@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    I learned about this page from The primetime and I mostly agree with the Grog especially on software testing. It’s funny that it came up when I was adding integration testing to our project that’s relying only on unit test with 0 integration testing. So many mocks are required and changing any behavior, while wishing that you don’t forget to update every mock is a wishful thinking.