Fifty tutorials won't teach you what one broken build will: a failure log for learning new tools

Iniciado por joomlamz, Hoje at 19:25

Respostas: 0   |   Visualizações: 6

Tópico anterior - Tópico seguinte

0 Membros e 1 Visitante estão a ver este tópico.

Fifty tutorials won't teach you what one broken build will: a failure log for learning new tools



Tópico: Fifty tutorials won't teach you what one broken build will: a failure log for learning new tools
Categoria: Tutoriais | Programação & Tecnologia
Idioma Principal: Português (Conteúdo de Tecnologia)

Descrição do Conteúdo / Informações:
-------------------------------------------------------------------------
Watching 50 videos about Claude or Salesforce Flow feels productive. Then you try to build something small, it breaks, and you learn more in an hour than in the whole playlist.

I wrote that idea in a LinkedIn post on Monday. I've been working in software for more than 30 years, and at Vantegrate (the AI agents company I co-founded with Francisco Morales) and at EGA Futura we use tools every day that weren't part of our work a few years ago: AI agents, Salesforce, ERP, automations. The habit that keeps paying off is simple: experiment, break things, and understand why they broke.

This post is about making that habit deliberate, with a failure log and a rule for how you use AI while you learn.



Why failures teach more than tutorials


A tutorial shows you the happy path somebody already debugged. When your own build fails, you're forced to look at the layer underneath: what the tool actually does with your input, which limits exist, what the error message means. That's the knowledge that transfers to the next tool.

The problem is that failures are easy to forget. You fix the thing, move on, and three weeks later you hit the same error and google it again.



The failure log


Keep one Markdown file per tool you're learning. Every time something breaks, write one entry before you fix it. An example entry:

## 2026-11-23 Salesforce Flow
- What I tried: record-triggered flow on Account, Get Records inside a Loop
- Exact error: Too many SOQL queries: 101
- My first guess: the flow runs too many times
- What it actually was: one SOQL query per loop iteration, sync limit is 100
- Fix: moved the lookup out of the loop, used OwnerId from the first Get
- What I'd tell someone else: data elements inside a loop run once per iteration

The "first guess" line matters most. Comparing what you thought with what actually happened is where your mental model gets corrected.

A tiny shell helper makes it fast enough to actually do:

# add to ~/.bashrc or ~/.zshrc
flog() {
local tool="$1"; shift
local file="$HOME/failure-log/${tool}.md"
mkdir -p "$HOME/failure-log"
{
echo ""
echo "## $(date +%F) $tool"
echo "- What I tried: "
echo "- Exact error: $*"
echo "- My first guess: "
echo "- What it actually was: "
echo "- Fix: "
echo "- What I'd tell someone else: "
} >> "$file"
"${EDITOR:-vi}" + "$file"
}

Usage: flog salesforce-flow "Too many SOQL queries: 101". It appends a dated entry with the error already filled in and opens the file at the end.



How to use an AI assistant without skipping the lesson


AI lets us learn and experiment faster than ever. It also makes it very easy to skip the part where you understand anything. The rule I'd suggest: ask for the explanation before the fix.

A prompt template that works with any assistant:

I'm learning {tool}. This failed:

{exact error message}

What I was trying to do: {one sentence}
My guess: {your hypothesis}

1. Explain what this error means and why it happens.
2. Give me two possible causes and how I can confirm each one.
3. Don't write the fix yet.

Paste the answer into the failure log under "What it actually was", in your own words. Then ask for the fix if you still need it. Most of the time you won't.



Two more habits that make the log better


Listen to people who know what you don't. Even when they have 20 fewer years of experience. A developer who just started often tries an approach you discarded years ago without checking again. When someone on your team solves something in a way you wouldn't have, add it to the log as an entry too: "What I'd have done / what they did".

Share what you learned. It's one of the reasons we keep teaching free classes at Vantegrate and EGA Futura. Explaining something forces you to understand it better, and the questions people ask show you the gaps. A failure log is a ready-made source for that: every entry with a clear "What I'd tell someone else" line is a five-minute lesson.



What this looks like after a month


You end up with a file per tool where every entry is a real problem you hit, your wrong guess, and the actual cause. It's the most useful documentation you'll have about that tool, because it's written for the mistakes you, specifically, tend to make.

I'm 52, and after more than three decades in this industry I still feel I have a lot left to learn. The failure log just makes sure each lesson only has to be learned once.

The five habits behind this, in Spanish, are in the full article on EGA Futura Discover.


Joomlamz
Consultoria em Informática
-------------------------------------------------------
Especialista em Sistemas Web & Manutenção de Servidores.
A desenvolver o novo AplPortal com suporte a PHP 8.
Precisa de ajuda profissional? Contacte-me.

Tags: