alphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoThe lengths we have to go tosh.itjust.worksexternal-linkmessage-square125fedilinkarrow-up11.34Karrow-down136
arrow-up11.31Karrow-down1external-linkThe lengths we have to go tosh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square125fedilink
minus-squareRogueBanana@lemmy.ziplinkfedilinkarrow-up3arrow-down1·1 year agoYeah but outside of that where the code is implemented or in a documentation, tabs are still easier to look through. And it does look pretty as long as there aren’t too many nested functions.
minus-squaremexicancartel@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up1·1 year agoEven with nested functions tabs are neat. Does you app have too many nested functions? Use tab width = 2 Do your app have too less nested functions? Use tab width = 8 Is your app having average number of nested fns? Use tab width = 4(mostly default) And all theese can happen without modifying a single byte in the source file, unlike spaces!
Yeah but outside of that where the code is implemented or in a documentation, tabs are still easier to look through. And it does look pretty as long as there aren’t too many nested functions.
Even with nested functions tabs are neat.
Does you app have too many nested functions?
Do your app have too less nested functions?
Is your app having average number of nested fns?
And all theese can happen without modifying a single byte in the source file, unlike spaces!