3 ms·
I though we were past naming variables by their types? That's what their types are for. So try naming it about what is it promising to have?
by necovek 2y ago
I though we were past naming variables by their types? That's what their types are for.
So try naming it about what is it promising to have?
- c5n8 2y agoWhat would you name it?
- necovek 2y agoWhat is it going to have as the value?
- c5n8 2y agoa promise that, if fulfilled, will return an object of uncompleted todo
- necovek 2y agoSomething to the tune of "unfinished", "uncompleted"/"incomplete" or — even better — "outstanding". I avoid negatives when I can, so I'd go with `outstandingTask` or `outstanding_task` (or `todo` if that's the term you use throughout the application).