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

Inm looking at you Typescript dev

sh.itjust.works

message-square
43
link
fedilink
524

Inm looking at you Typescript dev

sh.itjust.works

Wats0ns@sh.itjust.works to Programmer Humor · 3 years ago
message-square
43
link
fedilink
  • jubilationtcornpone@sh.itjust.works
    link
    fedilink
    arrow-up
    17
    ·
    3 years ago

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

    • OsrsNeedsF2P@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      3 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
        ·
        3 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.worlddeleted by creator
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          11 months ago

          deleted by creator

        • OsrsNeedsF2P@lemmy.ml
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          3 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
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      …or skip em

Programmer Humor

programmer_humor

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: [email protected]

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.18K users / day
  • 2.79K users / week
  • 7.84K users / month
  • 18.1K users / 6 months
  • 2.65K local subscribers
  • 31.2K subscribers
  • 2.26K Posts
  • 89K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org