![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
I try and follow best practices always too, but when the linter is catching it for you it’s less to think about so you can focus on the important parts of the problem
I try and follow best practices always too, but when the linter is catching it for you it’s less to think about so you can focus on the important parts of the problem
Typescript compiler enforces language requirements, the linter enforces language best practices. Best practices help you avoid bugs.
C, it combines the victim into a horrible overlapping monster of body parts
Same reason you use typescript. It helps you catch bugs and follow programming best practices. You also don’t need typescript, but with it your code is better. Typescript is technically just a really fancy linter. The actual compilation mainly just removes the type data and does some JavaScript engine compatibility.
You’re being tracked but nobody is paying attention.
Why do the typescript extensions to eslint exist then?
And eslint and setting up tsconfig for your project structure.
They probably spent a year looking for a job and they’re suffering from imposter syndrome so they feel like if they aren’t constantly getting stuff done they might be fired, plus they haven’t worked enough to hit burnout and don’t know how to pace themselves.
Maybe there’s some edge case but in my years of using prettier I haven’t encountered one once.
It adds even more auto formatting rules so you can basically stop thinking about formatting entirely. I used to be opinionated about formatting but now I just go with whatever prettier does. It’s not always the best but it’s consistent and it’s a big chunk of my brain I can free up for things that matter. It also formats things safely so you don’t run into those weird edge cases where semicolons matter if you choose to turn them off.
I’ll add that to my mountain of reasons for using typescript
After switching to typescript with linting and prettier I simply hate writing vanilla JavaScript anymore. Some people complain about the extra project setup needed but I find that time pays for itself immediately.
I wouldn’t do it without an auto formatter. With prettier it will catch potential no semi colon issues.
Yup, they’re a big target and being a big target means more liability. Spreading the fediverse is good for us all. It means taking down piracy is like whack a mole.
I just hope it’s less linear. They had some really long portions where there was only 1 route to take.
Basically every in app browser is.
Chromium has always existed. Originally it was wrapping web kit and later they forked web kit into blink and diverged from Web kit. Chromium is a level above the engine.
We can totally explain how the universe works. It’s random! But it’s also not random! We can explain why, but you won’t understand it. Not magic!
For some reason if I think of a tuna fish sandwich I imagine canned tuna, but if I think tuna sandwich I imagine whole seared tuna.