IO 😇@lemmy.blahaj.zone to Lemmy Shitpost@lemmy.worldEnglish · 5 days agomonumentalelemmy.blahaj.zoneimagemessage-square36fedilinkarrow-up1380arrow-down14
arrow-up1376arrow-down1imagemonumentalelemmy.blahaj.zoneIO 😇@lemmy.blahaj.zone to Lemmy Shitpost@lemmy.worldEnglish · 5 days agomessage-square36fedilink
minus-squareGonzako@lemmy.worldlinkfedilinkarrow-up8·edit-24 days agoI personally go by the monocre that if it’s something important, it’d be all on one file as not to lose the train of thought when debugging it. As jumping around between files tends to break up thought lines also, the compiler likes it better when there’s less layers
minus-squarekryptonianCodeMonkey@lemmy.worldlinkfedilinkarrow-up6·4 days agoI said function, not file. You can have 40 functions in one file.
I personally go by the monocre that if it’s something important, it’d be all on one file as not to lose the train of thought when debugging it.
As jumping around between files
tends to break up thought lines
also, the compiler likes it better when there’s less layers
The compiler can get fucked
I said function, not file. You can have 40 functions in one file.
oh yeah, that’s fair.