on Debug-time enforcement of borrowing rules, and safety in general. · c/rust · 1 pts · 2y@FizzyOrange I see what you mean
on Debug-time enforcement of borrowing rules, and safety in general. · c/rust · 2 pts · 2y@FizzyOrange @savvywolf I think this is a fine pattern and I use it in rust occasionally. how does this not work for you? https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=0f06fe574e1c69424b4749ef910a1fa7
on What are you working on this week? (June. 16, 2024) · c/rust · 8 pts · 2y@secana Physical string simulation https://hachyderm.io/@fil/112627897592373765
on How do you order your enums, structs and functions in your files? · c/rust · 3 pts · 2y@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.
@FizzyOrange I see what you mean
@FizzyOrange @savvywolf
I think this is a fine pattern and I use it in rust occasionally.
how does this not work for you?
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=0f06fe574e1c69424b4749ef910a1fa7
@secana Physical string simulation https://hachyderm.io/@fil/112627897592373765
@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.