dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
irelephant [he/him]🍭 to Programmer Humor@lemmy.mlEnglish • 4 months ago

looks good to me

lemm.ee

message-square
20
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
390

looks good to me

lemm.ee

irelephant [he/him]🍭 to Programmer Humor@lemmy.mlEnglish • 4 months ago
message-square
20
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
  • @xmunk@sh.itjust.works
    link
    fedilink
    94•4 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.

    • @wizardbeard@lemmy.dbzer0.com
      link
      fedilink
      English
      25•4 months ago

      PowerShell does that by default, and it’s my least favorite feature in my most used language.

      $ErrorActionPreference = Stop

      At the start of almost every script.

      • @Cysioland@lemmygrad.ml
        link
        fedilink
        2•4 months ago
        set -e
        
    • @thebestaquaman@lemmy.world
      link
      fedilink
      4•4 months ago

      set -e

    • @intensely_human@lemm.ee
      link
      fedilink
      2•4 months ago

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

      • ℍ𝕂-𝟞𝟝
        link
        fedilink
        English
        7•4 months ago

        Catching individual errors is fine. Having all errors be ignored by default is weird.

      • @locuester@lemmy.zip
        link
        fedilink
        English
        3•4 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.

      • Skull giver
        link
        fedilink
        2•
        edit-2
        3 months ago

        deleted by creator

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.
  • 59 users / day
  • 526 users / week
  • 1.55K users / month
  • 10.1K users / 6 months
  • 35.6K subscribers
  • 1.7K Posts
  • 37.6K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org