![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
11·
9 months agousing any
is actually much worse than using TS, because you’re basically telling the compiler “don’t help me here”… at least with JS the IDE is gonna help you… :/
using any
is actually much worse than using TS, because you’re basically telling the compiler “don’t help me here”… at least with JS the IDE is gonna help you… :/
this, and also nothing is 100% new - knowledge in similar areas will always help
what is not going to Oktoberfest gonna do?
depends what you mean by application code… I’d say if your business logic is exclusively used by a ui feature the best is to keep them together. but you probably want to abstract away things like data access. I found working with a nx monorepo helps reasoning about how to structure your code.
this is terrible advise - you should be using
unknown
. usingany
you’re basically disabling TS and will be under the false assumption that your code is ok while it’s most likely missing a lot of runtime checks