257m@lemmy.ml to Programming@programming.dev · 1 year agoWhat are your programming hot takes?message-squaremessage-square886fedilinkarrow-up1351
arrow-up1351message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 1 year agomessage-square886fedilink
minus-squareNightAuthor@lemmy.worldlinkfedilinkEnglisharrow-up12·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.