Book · 2025

Think Like Code

A 6-step Mental Coding Framework to decide with clarity, act with intention, and collaborate with AI without losing your human edge.

Author
Marcelo Cavic (Marcelo Cavicchioli)
Publisher
CAVIC Digital OÜ
Published
2025
Languages
English · Portuguese
Format
Paperback & Kindle
Subject
Decision-making · Mental Models · Human–AI Collaboration
Available at
Amazon

Get the book on Amazon →

What it is

A field manual for thinking under conditions of accelerating uncertainty. Think Like Code argues that the most useful mental skill of the next decade is not memorising frameworks, it is structuring your own thinking the way well-written code is structured: explicit inputs, named variables, clear branches, observable outputs.

The 6 steps

  1. Define the problem as a function signature, not a feeling.
  2. Name your variables — make implicit assumptions explicit.
  3. Specify the contract — what does success actually look like?
  4. Choose your branches — enumerate options, prune ruthlessly.
  5. Run the code — make the decision and observe the result.
  6. Refactor — keep what works, discard what does not, iterate.

Who it is for

Companion volume

Pairs naturally with Think Like Purpose — the same author, applied to the question of why rather than how.