True. But I suspect the polls are an extra thing that was added on with that feature already in place, whereas the voting mechanics are already there without provision for two kinds of vote. Modifying existing code in ways that break assumptions it may have made is always more painful than writing new code.
The existing code is likely a database that tells you whether people have voted for a specific post. Adding an additional column to that database for private/public votes shouldn’t be hard.
From my hazy memory of the LW codebase, you may be making unjustified assumptions about how it stores data. The database setup is … idiosyncratic.
(Here is an article—with a link to more details—about the Reddit DB architecture. LW is, I believe, forked from a version of Reddit a bit older than that article.)
True. But I suspect the polls are an extra thing that was added on with that feature already in place, whereas the voting mechanics are already there without provision for two kinds of vote. Modifying existing code in ways that break assumptions it may have made is always more painful than writing new code.
The existing code is likely a database that tells you whether people have voted for a specific post. Adding an additional column to that database for private/public votes shouldn’t be hard.
From my hazy memory of the LW codebase, you may be making unjustified assumptions about how it stores data. The database setup is … idiosyncratic.
(Here is an article—with a link to more details—about the Reddit DB architecture. LW is, I believe, forked from a version of Reddit a bit older than that article.)