FWGX Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Andromxda 🇺🇦🇵🇸🇹🇼 to Programmer Humor@programming.devEnglish • 9 months ago

fuck the tests

lemmy.dbzer0.com

message-square
45
fedilink
848

fuck the tests

lemmy.dbzer0.com

Andromxda 🇺🇦🇵🇸🇹🇼 to Programmer Humor@programming.devEnglish • 9 months ago
message-square
45
fedilink
  • @RagingRobot@lemmy.world
    cake
    link
    fedilink
    39•9 months ago

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

    • DacoTaco
      link
      fedilink
      13•
      edit-2
      9 months 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
        8•9 months ago

        This is why I like strong type systems with exhaustivity checks

        • DacoTaco
          link
          fedilink
          2•
          edit-2
          9 months ago

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

          • @silasmariner@programming.dev
            link
            fedilink
            1•9 months 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
  • 1.58K users / day
  • 3.74K users / week
  • 9.63K users / month
  • 19.9K users / 6 months
  • 24.7K subscribers
  • 1.54K Posts
  • 55.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org