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.
Want to know something horrendous? Odin, my current favorite language, recommends mixing tabs and spaces in their style guide.
What’s worse, their justification actually makes sense.
Another unpopular opinion: this alignment style looks terrible and wastes space. If you want alignment just start the parameters in a new line.
Fuck… They are right. This makes a lot of sense.
Now I have to share this with everyone at work.
That’s how it’s always supposed to be. Tabs for indent, spaces for alignment. Languages that do not support this are trash
I used to do this and it absolutely makes sense. However, I’ve shifted to tabs only and have removed the need for alignment with newlines.
Does that rule have autoformatting support? If not it’s a time waster anytime the parameters get refactored. I’m firmly in the camp of “machines do my formatting”