Skip to content

Instantly share code, notes, and snippets.

@stevenheidel
Created November 27, 2017 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenheidel/fc5d7a84e9948c7ac094d224f3ac25a0 to your computer and use it in GitHub Desktop.
Save stevenheidel/fc5d7a84e9948c7ac094d224f3ac25a0 to your computer and use it in GitHub Desktop.
void doOperation(String opType, Data data);
// where opType is "insert", "append", or "delete", this should have clearly been an enum
String fetchWebsite(String url);
// where url is "https://google.com", this should have been an URN
String parseId(Input input);
// the return type is String but ids are actually Longs like "6345789"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment