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