@Irelephant@lemm.ee to Programmer Humor@programming.devEnglish • 13 hours agolooks good to melemm.eeimagemessage-square27fedilinkarrow-up1453cross-posted to: programmerhumor@lemmy.ml
arrow-up1453imagelooks good to melemm.ee@Irelephant@lemm.ee to Programmer Humor@programming.devEnglish • 13 hours agomessage-square27fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@Willem@kutsuya.devlinkfedilink4•2 hours agoOn Error Resume Next Visual Basic is a beautiful language
minus-square@Knock_Knock_Lemmy_In@lemmy.worldlinkfedilink1•27 minutes agoOn error goto 0 Was always syntacticly confusing for me.
minus-square@FooBarrington@lemmy.worldlinkfedilink46•11 hours agotry { operation(); } catch { // nice weather, eh? }
minus-squareKaryoplasmalinkfedilink6•edit-29 hours agoStarting with Java 21 (I think), they’ve introduced ignored variables, so you can now actually do this: try { operation(); } catch (Exception _) { // nice weather, eh? } Edit: forgot that this is about JS lel
minus-square@jubilationtcornpone@sh.itjust.workslinkfedilinkEnglish1•4 hours agoSo basically the same as a discard in C#?
minus-squareTraister101linkfedilink1•6 hours agoIf your joking yes, if your not Java and Java Script are seperate things.
minus-square@JustAnotherKay@lemmy.worldlinkfedilink1•2 hours agoActually made this mistake in front of 20 people the other day. Guy at my job mentioned coding in java and I asked if he was doing web dev 🤦
minus-square@BangersAndMash@lemmy.worldlinkfedilink1•edit-22 hours agoPlenty of java back end web development, so maybe not as embarrassing as you felt?
if (error) { continue; }
On Error Resume Next
Visual Basic is a beautiful language
Was always syntacticly confusing for me.
try { operation(); } catch { // nice weather, eh? }
☑️ PR Approved
Starting with Java 21 (I think), they’ve introduced ignored variables, so you can now actually do this:
try { operation(); } catch (Exception _) { // nice weather, eh? }
Edit: forgot that this is about JS lel
So basically the same as a discard in C#?
Same thing right?
If your joking yes, if your not Java and Java Script are seperate things.
His joking?
Actually made this mistake in front of 20 people the other day. Guy at my job mentioned coding in java and I asked if he was doing web dev 🤦
Plenty of java back end web development, so maybe not as embarrassing as you felt?
Thanks. I hate it.