3 ms·
> Be consistent with code around you I sometimes forget what i did in last function, so in my code there might be inconsistencies and a mix of both styles foun
by mkagenius 10y ago
> Be consistent with code around you
I sometimes forget what i did in last function, so in my code there might be inconsistencies and a mix of both styles found. I hope to get consistent some day but a working code is the priority right now :)
- btilly 10y agoIn a code base there ideally should be a single coding standard. Achieving this ideal always seems impossible. But various languages have various tools to enable mass reformatting to fix this if there is no current consistency. This turns the problem from being a technical one to a social one. Good luck with reaching agreement with your fellow developers...