Naming Things Is Hard! 2 points by c5n8 14 hours ago What would you name a variable that has type Promise<Todo> ?
necovek 14 hours 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?
behnamoh 13 hours ago I have this convention: <group-name><object-name><object-type> So in your case: ToDoPromise if it's the only 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?
I have this convention:
So in your case: if it's the only todo.