Miguel Costa
"A serious and good philosophical work could be written consisting entirely of jokes."
Learn Programming with real world examples
#amatterofcontext
#amatterofcontext
when you’re learning something new, connect it to something you already know
-- Alex Coleman, via Self-taught coders
#amatterofcontext
#amatterofcontext
#amatterofcontext
#amatterofcontext
#amatterofcontext
#amatterofcontext
#amatterofcontext
#amatterofcontext
Number (maths), string (literal value), boolean (true/false)
#amatterofcontext
#amatterofcontext
HTTP Responses as dialog
#amatterofcontext
Meet James Client and John Server
HTTP Responses as dialog
#amatterofcontext
James Client
John Server
Hey John (at john.com), show me your right foot
Sure, here it is (shows right foot as if it were a web page)
https://www.johnserver.com/rightfoot - 200
HTTP Responses as dialog
#amatterofcontext
James Client
John Server
Hey John (at john.com), show me your right head
??? I know you're addressing me, but I don't understand what you're asking for!
https://www.johnserver.com/righthead - 404
HTTP Responses as dialog
#amatterofcontext
James Client
John Server
Hey John (at john.com), show me your right foot
Ok here it... wait! Sorry, but I can't. I know what you're asking for, but something went wrong
https://www.johnserver.com/rightfoot - 200 500
#amatterofcontext
#amatterofcontext
APIs
online shop:
multiple products at once, single payment
#amatterofcontext
vending machine: one product and payment at a time
#amatterofcontext
Source: WDS
By Miguel Costa