Re:Writing a SQL database from scratch in Go
by zaroth on Monday April 13, 2020 @04:09PM
(#22859499)
Aside from obviously preventing typos, I really like being able to very quickly find all references that use the string.
For example when storing session state into a Dictionary<string,object> all access to the session state is through static strings, never a string literal. This makes is super easy to find everywhere that’s accessing that particular session variable.
For example when storing session state into a Dictionary<string,object> all access to the session state is through static strings, never a string literal. This makes is super easy to find everywhere that’s accessing that particular session variable.