Explicit Context

Learn about implicit dependency, proper URL, and global state.

Implicit dependency

Suppose our service receives this fragment of JSON inside a request:

Press + to interact
{"item": "029292934"}

How much do we know about the item? Is that string the item itself? Or is it an item identifier? Maybe the field would be better named itemID. Supposing that it is an identifier, our service can’t do very much with it. In fact, only four things are possible:

...

Get hands-on with 1400+ tech skills courses.