boblaw0@lemmy.world to Rust@programming.dev · edit-21 year agoHow do you order your enums, structs and functions in your files?message-squaremessage-square8fedilinkarrow-up113arrow-down10
arrow-up113arrow-down1message-squareHow do you order your enums, structs and functions in your files?boblaw0@lemmy.world to Rust@programming.dev · edit-21 year agomessage-square8fedilink
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up9·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.