So to design a new API, start from expert mental models and end-to-end workflows. The worst APIs I've seen originated from confused mental models. You can't create a simple language to specify how to do XYZ if you don't have a crystal clear understanding of XYZ.
-
-
Show this thread
-
Remember that the actual objects & signatures are pretty much an afterthought. Don't start with them. End with them.
Show this thread
End of conversation
New conversation -
-
-
Do you have any influence over the current tensorflow mess?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
+1. This is the same concept that really sold test driven development to me; write code first as a user (the test) before writing code as the provider (the implementation)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I also want to say that poorly documented APIs are hell on earth. Was working on a Rust interface to a brokerage this weekend, and they just didn’t mention if their Websocket API uses SSL or not. Turns out it doesn’t (only mkt data gets sent, so no SSL is not as big a concern).
-
Though TBH not having SSL on anything finance related is kinda worrying
End of conversation
New conversation -
-
-
Domain driven design that is.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Mock the actual logic, build your shell around it first.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.