cm0002@lemmy.world to Programmer Humor@programming.dev · 21 days agoJavaScriptimagemessage-square34fedilinkarrow-up1555
arrow-up1555imageJavaScriptcm0002@lemmy.world to Programmer Humor@programming.dev · 21 days agomessage-square34fedilink
minus-squareJankatarch@lemmy.worldlinkfedilinkarrow-up16·21 days agoInstead of trying to make it work, javascript could just say “error.” Being untyped doesn’t mean you can’t have error messages.
minus-squarecapybara@lemm.eelinkfedilinkEnglisharrow-up6·21 days agoThis is fair enough from an idealistic view. In practice, you don’t want your entire website to shit itself because of a potentially insignificant error.
minus-squareJankatarch@lemmy.worldlinkfedilinkarrow-up4·20 days agoIn practice runtime errors are a bitch to find and fix.
minus-squarecapybara@lemm.eelinkfedilinkEnglisharrow-up2·20 days agoFair enough. This is why people prefer typescript
minus-squarerandom8847@lemmy.worldlinkfedilinkarrow-up4·20 days agoI’d rather have my website shit itself than have silent difficult to find errors.
minus-squareValmond@lemmy.worldlinkfedilinkarrow-up3·20 days agoLook! I bought this for free on capybaras website, there’s a glitch! capybara: at least it didn’t throw an error. / jk 😁
minus-squarecapybara@lemm.eelinkfedilinkEnglisharrow-up2·20 days agoUse typescript if you’re paranoid about this
Instead of trying to make it work, javascript could just say “error.” Being untyped doesn’t mean you can’t have error messages.
This is fair enough from an idealistic view. In practice, you don’t want your entire website to shit itself because of a potentially insignificant error.
In practice runtime errors are a bitch to find and fix.
Fair enough. This is why people prefer typescript
I’d rather have my website shit itself than have silent difficult to find errors.
Use typescript
Look! I bought this for free on capybaras website, there’s a glitch!
capybara: at least it didn’t throw an error.
/ jk 😁
Use typescript if you’re paranoid about this