Irelephant@lemm.ee to Programmer Humor@lemmy.mlEnglish · 8 hours agolooks good to melemm.eeimagemessage-square14fedilinkarrow-up1238arrow-down12cross-posted to: programmer_humor@programming.dev
arrow-up1236arrow-down1imagelooks good to melemm.eeIrelephant@lemm.ee to Programmer Humor@lemmy.mlEnglish · 8 hours agomessage-square14fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up58·8 hours agoStill 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.
minus-squarewizardbeard@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up14·6 hours agoPowerShell 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.
Still not as excellent as
On Error Resume Next
Imagine the sheer
idiocygenius 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.
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.