boblaw0@lemmy.world to Rust · edit-21 year agoHow do you order your enums, structs and functions in your files?message-squaremessage-square8fedilinkarrow-up115arrow-down10
arrow-up115arrow-down1message-squareHow do you order your enums, structs and functions in your files?boblaw0@lemmy.world to Rust · edit-21 year agomessage-square8fedilink
minus-squarePoolloverNathanlinkfedilinkEnglisharrow-up10·1 year agoWhenever I need a struct, I flip a coin to decide if it should be above or below the one I’m currently writing.
Whenever I need a struct, I flip a coin to decide if it should be above or below the one I’m currently writing.