RetroLemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 2 years ago

fuck the tests

lemmy.dbzer0.com

message-square
45
link
fedilink
836

fuck the tests

lemmy.dbzer0.com

Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 2 years ago
message-square
45
link
fedilink
  • RagingRobot@lemmy.world
    link
    fedilink
    arrow-up
    39
    ·
    2 years ago

    Tests are just booby traps for the other engineers so they don’t break your code by mistake.

    • DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      2 years ago

      Its funny cause its true. I often design tests to be “if a case/enum value is added this test will explode and tell them to add code here”

      • silasmariner@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        2 years ago

        This is why I like strong type systems with exhaustivity checks

        • DacoTaco@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          2 years ago

          Saaaaame. But sometimes even strongly typed stuff wont break on compilation time

          • silasmariner@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            'spose that’s true enough

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.58K users / day
  • 5.61K users / week
  • 9.42K users / month
  • 18.3K users / 6 months
  • 17 local subscribers
  • 30.6K subscribers
  • 2.19K Posts
  • 84.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org