JPDev@programming.dev to Programmer Humor@programming.dev · 10 months ago===programming.devimagemessage-square20fedilinkarrow-up116arrow-down10
arrow-up116arrow-down1image===programming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square20fedilink
minus-squareJaddedFauceet@lemmy.worldlinkfedilinkarrow-up1·10 months agoBy banishing the bad part of the language with linter. For instance, standard eslint preset has rules that enforce usage of ===, https://eslint.org/docs/latest/rules/eqeqeq These rules often come with project starter template
minus-squarefidodo@lemmy.worldlinkfedilinkEnglisharrow-up1·10 months agoAnd typescript is basically just a linter on steroids
By banishing the bad part of the language with linter.
For instance, standard eslint preset has rules that enforce usage of
===
, https://eslint.org/docs/latest/rules/eqeqeqThese rules often come with project starter template
And typescript is basically just a linter on steroids