257m@lemmy.ml to Programming@programming.dev · 1 year agoWhat are your programming hot takes?message-squaremessage-square895fedilinkarrow-up1352arrow-down114
arrow-up1338arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 1 year agomessage-square895fedilink
minus-squareNightAuthor@lemmy.worldlinkfedilinkEnglisharrow-up12arrow-down6·1 year agoPressing tab and having the appropriate number of spaces added is objectively the only right answer.
minus-squareClemaX@lemm.eelinkfedilinkarrow-up10·1 year agoBut you can set a tab width instead so any developer editing the code can adjust the indentation width to his liking, without changing the actual files contents and having to worry about setting the editor up to insert the right amount of spaces.
Pressing tab and having the appropriate number of spaces added is objectively the only right answer.
But you can set a tab width instead so any developer editing the code can adjust the indentation width to his liking, without changing the actual files contents and having to worry about setting the editor up to insert the right amount of spaces.