From humble beginnings at an MSP, I've adventured through life as a sysadmin, into an engineer, and finally landed as a developer focused on fixing problems with automation.
It's not about consistency, it's about use-case. A list, tuple and set all solve different problems. Comprehensions should always be simple, otherwise you should be using a different construct that is readable.
Yes, you should use a linter, but almost any editor nowadays will catch the errors you point out and are not necessarily linting issues.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's not about consistency, it's about use-case. A
list
,tuple
andset
all solve different problems. Comprehensions should always be simple, otherwise you should be using a different construct that is readable.Yes, you should use a linter, but almost any editor nowadays will catch the errors you point out and are not necessarily linting issues.