We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If variable is used within x lines (e.g. make it 10, or make it configurable) prefer a shorter name, because it can probably deduced from context
final selectedNames = users.map((u) => u.name).where((n) => n.isSelected).toList();
final selectedNames = users.map((user) => user.name).where((name) => name.isSelected).toList();
first example is easier to read
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If variable is used within x lines (e.g. make it 10, or make it configurable) prefer a shorter name, because it can probably deduced from context
first example is easier to read
The text was updated successfully, but these errors were encountered: