2 points by c5n8 15 hours ago | 4 comments

What would you name a variable that has type Promise<Todo> ?

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?

What would you name it?

I have this convention:

    <group-name><object-name><object-type>
So in your case:

    ToDoPromise
if it's the only todo.
[deleted]