fil

joined 2 years ago
[–] fil@hachyderm.io 1 points 3 months ago
[–] fil@hachyderm.io 2 points 3 months ago* (last edited 3 months ago) (13 children)

@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

[–] fil@hachyderm.io 2 points 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.