irelephant [he/him]🍭 to Programmer [email protected]English • 2 years agolooks good to melemm.eeimagemessage-square39fedilinkarrow-up1695arrow-down19cross-posted to: [email protected]
arrow-up1686arrow-down1imagelooks good to melemm.eeirelephant [he/him]🍭 to Programmer [email protected]English • 2 years agomessage-square39fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink68•2 years agotry { operation(); } catch { // nice weather, eh? }
minus-squareKaryoplasmalinkfedilink13•edit-22 years 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-squareTraister101linkfedilink2•2 years agoIf your joking yes, if your not Java and Java Script are seperate things.
minus-square@[email protected]linkfedilink1•2 years 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@[email protected]linkfedilink2•edit-22 years agoPlenty of java back end web development, so maybe not as embarrassing as you felt?
minus-square@[email protected]linkfedilink1•2 years agoHe said “I’ve been closing in C# and Java for 2 years” and I asked, in front of everyone, “are you doing web dev?” And he just coldly said no See this could have been fine if I didn’t double down and go “then what are you using java for… OH WAIT”
minus-square@[email protected]linkfedilink2•2 years agowith contextlib.suppress(BaseException): do_thing()
try { operation(); } catch { // nice weather, eh? }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
Same thing right?
If your joking yes, if your not Java and Java Script are seperate things.
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?
He said “I’ve been closing in C# and Java for 2 years” and I asked, in front of everyone, “are you doing web dev?” And he just coldly said no
See this could have been fine if I didn’t double down and go “then what are you using java for… OH WAIT”
☑️ PR Approved
Thanks. I hate it.