Are you using types when you should be linting? (kristiandupont.medium.com) 3 points by kristiandupont 3y ago ↗ HN
[–] ggm 3y ago ↗ Porque no los dos?Seriously are they oppositional or antithetical? I can't see why. [–] alpaca128 3y ago ↗ After reading the article I don't get the title either.It's just a description of a situation where the TS type system didn't support something in a clean way so they wrote a linter rule for it. [–] kristiandupont 3y ago ↗ I am sorry if the title is misleading. I didn't mean "are you using types in your project, at all?" but rather "are you using types for every problem when some of them could be easier solved with linting?"
[–] alpaca128 3y ago ↗ After reading the article I don't get the title either.It's just a description of a situation where the TS type system didn't support something in a clean way so they wrote a linter rule for it. [–] kristiandupont 3y ago ↗ I am sorry if the title is misleading. I didn't mean "are you using types in your project, at all?" but rather "are you using types for every problem when some of them could be easier solved with linting?"
[–] kristiandupont 3y ago ↗ I am sorry if the title is misleading. I didn't mean "are you using types in your project, at all?" but rather "are you using types for every problem when some of them could be easier solved with linting?"
3 comments
[ 3.5 ms ] story [ 22.5 ms ] threadSeriously are they oppositional or antithetical? I can't see why.
It's just a description of a situation where the TS type system didn't support something in a clean way so they wrote a linter rule for it.