← Graph

OOP in Pictures

concept 2 connections

Teaching and analysis method Ivan Nemytchenko invented while teaching students object-oriented programming. Classes and objects are drawn as little cartoon dudes; their arms are methods, fingers on each arm are method arguments, their brain holds instance variables, a hatch on the body emits the return value, and exceptions emerge from a different place. Private methods are internal arms that can't be shaken from outside. A class is represented as a spawning platform with a cartridge and a lever; the lever is essentially another 'hand' with fingers (the constructor). The visualization makes antipatterns visible at a glance — too many arguments/methods/instance variables, too-long methods, excessive conditionals, compounding complexity. Originally presented in a dedicated RailsClub talk and reused in The Curse of Service Object to show how service-object complexity grows inward over time (e.g. GitLab examples).

category
practice
about
OOP in Pictures concept
Ivan introduces and uses his OOP in Pictures method throughout the talk.
authored
OOP in Pictures concept
Ivan invented this visual teaching method and presented a dedicated talk on it at RailsClub.

Provenance

Read by
1 extraction