Block dead code checks with flags #23

Open
opened 2024-08-30 17:47:11 +02:00 by lash · 0 comments
Owner

If a flag has been set (e.g. for created account), use this flag check at the start of functions to avoid running IO etc again.

Example: https://git.grassecon.net/urdt/ussd/src/branch/master/internal/handlers/ussd/menuhandler.go#L83

If a flag has been set (e.g. for created account), use this flag check at the start of functions to avoid running IO etc again. Example: https://git.grassecon.net/urdt/ussd/src/branch/master/internal/handlers/ussd/menuhandler.go#L83
lash added the
Priority
Low
optimization
labels 2024-08-30 17:47:24 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: urdt/ussd#23