Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Wats0ns@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago

Inm looking at you Typescript dev

sh.itjust.works

message-square
44
fedilink
425

Inm looking at you Typescript dev

sh.itjust.works

Wats0ns@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago
message-square
44
fedilink
  • jubilationtcornpone@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago

    Must be the same people who just comment out failing unit tests.

    • OsrsNeedsF2P@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      “Your crappy tests are failing again on my branch. I’ve commented them out until you fix them.”

      • Hudell@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Sadly that sort of thing got so common where I work that I’ll run the tests three times before considering looking into the error message to see if it is something I broke.

        From time to time we take some days just to fix tests with inconsistent results, but there’s always more popping up.

        • Darorad@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Yeah, we have a team whose job is to make sure all our tests run well and fixing them if they don’t

        • OsrsNeedsF2P@lemmy.ml
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          2 years ago

          Serious answer: You can’t write tests for untestable code. Your code needs to be pure if you want reliable tests: https://en.m.wikipedia.org/wiki/Pure_function

          For integration tests, they should handle retries themselves

    • mark@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      …or skip em

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.

  • 616 users / day
  • 3.6K users / week
  • 7.59K users / month
  • 14.6K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.23K Posts
  • 29.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org