1
Anon died on the "clang format bad" hill
Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.
Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.
Comments
C++ is an awful language overall.
Linus is just some guy with good programming skills and not an authority over anything tech.
There aren’t any good text editors in the wild. VSCode is awful apart from extension support. Kate is close to being perfect but lack of extensions are pulling it back. Vim, Helix, Emacs, NeoVim are all flex toys.nvm just tried zed with AI disabledAI bad
That information about text editors is out of date - we now have Zed. Just ignore the “AI integration” bs, it’s entirely optional
Also checkout Gram on Codeberg, it’s Zed with all the AI trash and telemetry removed.
Right now I use Helix and I’m trying to decide whether to switch to Zed. Because it almost looks like a better editor at this point, except its configuration is not as declarative as I’d like and its AI service uses a bunch of closed providers.
Linters are terrible.
Style/formatting linters, anyway, particularly when it comes to whitespace. The goal of formatting code with whitespace is to optimize for human readability. A linter based on a set of rules is not human and thus cannot judge human readability. There is really no formatting rule you can write that will not someday have exceptions on a large-enough codebase.
Contributors should be responsible for submitting readable code, and ensuring that is what reviews are for.
…which is why I love
#[rustfmt::skip]so much! You can do stuff like#[rustfmt::skip] const DIRECTIONS: [[i8; 2]; 4] = [ [0, 1], [-1, 0], [1, 0], [0, -1], ];while still enjoying the convenience of auto formatting elsewhere.
Although linters which act on the behavior of code are unequivocally a good thing, e.g. “hey, this comparison will always return false you probably made a mistake here”.
Sign in to comment. Sign in