mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[GH-ISSUE #110] Get rid of globals #67
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @matze on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/matze/wastebin/issues/110
Originally assigned to: @matze on GitHub.
The pervasive use of
statics throughout the codebase is good for performance and was manageable when wastebin started out but it's a pain in the ass and frankly speaking not very idiomatic. Long story short: they need to go and all global data be stored in some runtime structure, e.g. most likely in theAppState.@matze commented on GitHub (Feb 6, 2025):
There is a work-in-progress branch which will break things around the base URL, so mark it as 3.0.