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
switch is abused. It may make sense to populate a data structure, select from it and hope that the compiler would optimize it away.
it is too coupled with drawing to screen. It may make sense to emit a sequence of structures describing chunks of text and their styles. And maybe create a separate lib, useful for other software.
The text was updated successfully, but these errors were encountered:
Thanks for the feedback, I have been thinking of different ways to rewrite this. Trying to picture a good way of parsing the sequences into structures before hand so each election can do an action. Maybe a nice Key/value hashmap build up on the control sequences instead of case statements would work better.
switch
is abused. It may make sense to populate a data structure, select from it and hope that the compiler would optimize it away.The text was updated successfully, but these errors were encountered: