News for hackers. Stuff that matters.
Re:A Theory of Software Architecture by dheerajvs on Wednesday October 28, 2020 @02:40AM (#24915947)
Another pet peeve of mine is variable names suffixed with "Data" and "Info".
Re:A Theory of Software Architecture by ahartmetz on Wednesday October 28, 2020 @08:15AM (#24917833)
Yes, but... sometimes you have data about data (aka metadata) or about a thing, in which case "...Info" is the best thing I know of. Say FileInfo or ProgramInfo (e.g. a CNC machine program).
Re:A Theory of Software Architecture by Lio on Wednesday October 28, 2020 @10:11AM (#24918898)
Worst variable name I’ve ever seen was “data2”. There was no longer a “data” in that code but presumably there had been at one point.