On how many levels of abstraction are you?

Abstraction is theory. A theory is a principle that attempts to explain diverse phenomena, a concise concept capable of shedding light on countless situations.

Breaking down a simple abstraction

Abstraction is based on the use of names to stand for concrete objects and operations, to generalise the instances. — by Greg Michaelson.

10*9
10*11
10*items
REPLACE items IN 10*items
REPLACE items WITH 84 IN items*10
10*84
REPLACE items IN 11*items
REPLACE items IN 8*items
REPLACE cost IN 
REPLACE items IN cost*items
REPLACE cost WITH 32 IN 
REPLACE items WITH 12 IN cost*items
REPLACE items WITH 12 IN 32*items
32 * 12

Higher level of abstraction

REPLACE cost IN 
REPLACE items IN cost/items
REPLACE cost IN 
REPLACE items IN cost*items
REPLACE op IN
REPLACE cost IN
REPLACE items IN cost op items
REPLACE op WITH * IN
REPLACE cost IN
REPLACE items IN cost op items
REPLACE op WITH / IN
REPLACE cost WITH 32 IN
REPLACE items WITH 12 IN cost op items

Abstraction is based on generalisation through the introduction of a name to replace a value and specialization through the replacement of a name with another value. — by Greg Michaelson.

Bibliography:

Written by

Software Engineer. Writing about #tech and #sustainability @riittagirl on Instagram

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store