Nov 5 · 1 min read
I was taught that all of programming can be reduced to a series of “triangles” (three related things). All code is either sequential, iterative, or conditional. Programs do input, processing, and output. Updates include read, write, delete. Languages are declarative, procedural, or object-oriented.
It doesn’t hold up 100% with all features of all languages but it does help to frame 90% of most languages in terms that are easily digestible. Thirty plus years and a few dozen languages later, the triangle method has been a helpful POV in keeping languages approachable.
