minus-squareFil@hachyderm.iotoRust@programming.dev•How do you order your enums, structs and functions in your files?linkfedilinkarrow-up2·1 year ago@boblaw0 In an order that tells the story, when reading the module file top-to-bottom. It is usually difficult to do when rapidly developing, but easier to achieve when refactoring a working program or a library. linkfedilink
@boblaw0 In an order that tells the story, when reading the module file top-to-bottom. It is usually difficult to do when rapidly developing, but easier to achieve when refactoring a working program or a library.