Skip to content

refactor: simplify path finding impl#5

Open
coriolinus wants to merge 4 commits intowire/stablefrom
prgn/refactor/simplify-path-finding-impl
Open

refactor: simplify path finding impl#5
coriolinus wants to merge 4 commits intowire/stablefrom
prgn/refactor/simplify-path-finding-impl

Conversation

@coriolinus
Copy link
Copy Markdown


PR Submission Checklist for internal contributors

  • The PR Title
    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

The existing implementation was mainly written 4 years ago, and used
idioms even older than that. Rust has come a long way since then!

This is a purely mechanical refactoring accomplished by repeatedly
scanning for old patterns and replacing them with something more modern.
But all substitutions preserved 100% semantic equivalence.
No serious attempt has been made to actually understand the code.

On the other hand, the code should be much easier to understand now.
The existing implementation was mainly written 4 years ago, and used
idioms even older than that. Rust has come a long way since then!

This is a purely mechanical refactoring accomplished by repeatedly
scanning for old patterns and replacing them with something more modern.
But all substitutions preserved 100% semantic equivalence.
No serious attempt has been made to actually understand the code.

On the other hand, the code should be easier to understand now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant