3 ms·
Cosmetic? Visual Studio fixes layout problems in a few keystrokes but it can't fix, say, poorly named variables.
by KiwiCoder 12y ago
Cosmetic? Visual Studio fixes layout problems in a few keystrokes but it can't fix, say, poorly named variables.
- VeejayRampay 12y agoBy cosmetic, I mean the pettier details like indentation, method names in bold or underlined, return types on the same line or before the function definition, position of braces, snake case versus camel case, etc. That I think the editor should take care of. For more serious issues like your example of poorly named variables, there's nothing it could do (and is really the core of the problem, as you pointed out).
- pjc50 12y agoThis is why it's important that you have a coding standard but not so important what choices it actually makes. Just like you have to pick whether to drive on the right or the left. Golang apparently enforces a visual style. To a certain extent, Python does as well.
- couchand 12y agoPython really should try harder to enforce visual style. The tab-space munging that you can get away with is horrible.
- deleted 12y ago[deleted]