Jellie Frontier
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
irelephant [he/him]🍭@lemm.ee to Programmer Humor@lemmy.mlEnglish · 6 months ago

looks good to me

lemm.ee

message-square
12
fedilink
287

looks good to me

lemm.ee

irelephant [he/him]🍭@lemm.ee to Programmer Humor@lemmy.mlEnglish · 6 months ago
message-square
12
fedilink
alert-triangle
You must log in or register to comment.
  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    64
    ·
    6 months ago

    Still not as excellent as On Error Resume Next

    Imagine the sheer idiocy genius required to add a language feature where, if an error occurred, the handling method is to just pretend that line of code never existed and continue onto the next line.

    VBA is truly the language of savants.

    • thebestaquaman@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      set -e

    • intensely_human@lemm.ee
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      6 months ago

      So catching errors and doing nothing? That exists in every language except maybe BASIC?

      • locuester@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        Very different. This means default ignore all errors and continue to the next line. You’d have to explicitly catch every line in most(all?) other languages.

  • DickFiasco@lemm.ee
    link
    fedilink
    arrow-up
    35
    ·
    6 months ago

    Ship it.

  • konalt@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    6 months ago

    I wrap every line of code in a try catch block, even my try catch blocks are in try catch blocks just in case the first accidentally drops it after catching it

    • CaptainBlagbird@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      6 months ago

      Yo dawg, I heard you like try-catch blocks

  • Arthur Besse@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    6 months ago

    except: pass

  • Bosht@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    6 months ago

    That’s fucking hilarious

  • FiniteLooper@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    6 months ago

    I came across a stack overflow recently about how to do something in a jasmine unit test. Someone gave a solution of “I just changed the test to xit(“… and now there are no errors!”

  • devilish666@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    6 months ago

    Push it to prod & see the world burns around you

  • Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    6 months ago

    Donald Trump does coding.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 106 users / day
  • 535 users / week
  • 1.78K users / month
  • 6.16K users / 6 months
  • 1 local subscriber
  • 37K subscribers
  • 656 Posts
  • 2.14K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org