3 ms·
It’s just concatenation of a list of strings? They could have done some neat calculation to figure out if the list is the remaining swing states and then replac
by haburka 6y ago
It’s just concatenation of a list of strings? They could have done some neat calculation to figure out if the list is the remaining swing states and then replace the text like you suggested.
However, considering this is a side project, I understand why they didn’t try to build every feature. It’s much better to publish something in a timely manner than to spend so much time polishing it that you miss the relevant deadline!
- dragontamer 6y ago> They could have done some neat calculation to figure out if the list is the remaining swing states and then replace the text like you suggested. As far as I can tell, the "neat calculation" is: * "If Trump Wins, then the list of states that Biden won are meaningless" * "If Biden Wins, then the list of states that Trump won are meaningless". > However, considering this is a side project, I understand why they didn’t try to build every feature. It’s much better to publish something in a timely manner than to spend so much time polishing it that you miss the relevant deadline! I can agree with that. But I'm still going to try to offer helpful criticism when the projects hit the 1st page of Hacker News!