trim()
If you can teach trim() using a trim dry-run, you know it. If you only know the heading, you don’t.
Keep trim() small. Sara should finish a trim dry-run in a few lines, not a 40-line dump.
Skip trim() and only reciting the name of trim shows up in a small live site.
Sara ships trim() in a small live site. That is the use case worth saying.
Don’t do this with trim() — only reciting the name of trim. Interviewers spot it in ten seconds.
Place trim() next to nearby PHP work — one trim step Sara can write from memory is the link.
Viva for trim() — what it is → one trim step Sara can write from memory → the mistake (only reciting the name of trim).
Say trim() in one breath, then one trim step Sara can write from memory, then only reciting the name of trim.