You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to guess this will never happen because it's a lot of work for little gain.
But ParseCurrentFileConfig could probably be split into its own file. And each node entry in it could be split into its own function.
The big main loops (ProcessFile) in Companion could have their contents split into multiple functions as well. This should lead to easier readability because readers could easier see how the control flow works. Example in pseaudo-code:
But alas, this would be a time sink. But you can kinda see that it's easier to understand how the program works at a glance like this. I'd also wonder if we would lose some performance doing this.
The text was updated successfully, but these errors were encountered:
I'm going to guess this will never happen because it's a lot of work for little gain.
But
ParseCurrentFileConfig
could probably be split into its own file. And each node entry in it could be split into its own function.The big main loops (
ProcessFile
) in Companion could have their contents split into multiple functions as well. This should lead to easier readability because readers could easier see how the control flow works. Example in pseaudo-code:Isn't quite as clear as:
But alas, this would be a time sink. But you can kinda see that it's easier to understand how the program works at a glance like this. I'd also wonder if we would lose some performance doing this.
The text was updated successfully, but these errors were encountered: