3 ms·
You've inspired me to create this: https://github.com/xigoi/nimdenter/ https://github.com/xigoi/nimdenter/ >Whoever writes such code should be shot. There are
by xigoi 5y ago
You've inspired me to create this: https://github.com/xigoi/nimdenter/ https://github.com/xigoi/nimdenter/
>Whoever writes such code should be shot. There are newlines for a reason. And I am glad we have format-on-save these days. Less bikeshedding, exactly of the kind we're doing right now.
So do you use indentation or braces to read code? If the former, what are you complaining about? If the latter, why would you use a tool that adds indentation when you already have braces?
- pdimitar 5y agoI am not "complaining" about anything. I am expressing preferences. There were online examples where people don't indent Python code as they go and then saving the file invokes LSP's auto-format which severely botched the code logic (and it was hard to spot). Seeing one such occurrence immediately triggers my alarms: I want to write code and be productive and not squint at whether I am at the right indentation level all the time.