- Published on
Swim Against the Current: The Salmon, Resilience, and the Developer Who Keeps Going
- Authors

- Name
- Youngju Kim
- @fjvbn20031
- Why the Salmon Climbs Toward Its Own Death
- A Nose That Remembers Everything: The Science of Olfactory Imprinting
- What Does "Resilience" Actually Mean?
- Adversity (逆境): The Developer's Upstream
- The Forest Fed by Failure
- Five Research-Backed Resilience Practices
- Return to Your River
- References
Why the Salmon Climbs Toward Its Own Death
Every autumn, rivers across Alaska, British Columbia, and Kamchatka fill with one of nature's most astonishing spectacles. Chinook salmon — the largest of the Pacific species — begin a journey of up to 3,200 kilometers from the open Pacific Ocean back to the precise gravel beds where they hatched. They swim against raging currents, leap up waterfalls, dodge bears and eagles, and do all of this while eating nothing.
During the upstream journey, a Chinook loses up to 40% of its body mass. Its skin turns crimson. Its jaw hooks and its spine begins to curve. Every calorie burned is a calorie the fish was storing from months of ocean feeding. And when the salmon finally reaches its birthplace — exhausted, spent, barely recognizable — it spawns, and dies.
And then something remarkable happens. The salmon's body washes into the riverside forest. Nitrogen, phosphorus, and marine-derived omega-3 fatty acids seep into the soil. Scientists call this marine-derived nutrients (MDN), and the effects are measurable: trees within 500 meters of salmon-bearing streams grow up to three times faster than those farther away. The death of one salmon fertilizes an entire ecosystem.
The salmon does not swim upstream to die. It swims upstream so the forest can live.
A Nose That Remembers Everything: The Science of Olfactory Imprinting
For generations, biologists puzzled over the salmon's almost supernatural ability to find its birthplace. The first major breakthrough came in 1954 when Wisby and Hasler published their landmark study on olfactory imprinting. When a salmon hatches, it memorizes the precise chemical signature of its home stream — a unique blend of minerals, organic matter, and microbial communities. Years later, as an adult navigating thousands of kilometers of ocean, the salmon can detect that same molecular fingerprint diluted to parts per billion.
But smell alone cannot explain the open-ocean navigation. Salmon also read the Earth's magnetic field. Magnetoreception — the ability to detect the intensity and inclination angle of geomagnetic fields — allows salmon to construct a mental map of their oceanic position with a precision that still humbles our best GPS technology.
The sockeye salmon goes even further. Upon entering freshwater, its photoreceptors physically shift — the eyes that were tuned to detect deep-ocean blue wavelengths recalibrate themselves for the green light of rivers. The salmon rewires itself for its new environment.
This is resilience at the cellular level: the capacity to remember where you came from, to navigate darkness without losing direction, and to change your own biology when the environment demands it.
What Does "Resilience" Actually Mean?
The word comes from the Latin resilire — to spring back, to rebound. But psychologists Karen Reivich and Andrew Shatté, in their foundational 2002 book The Resilience Factor, warn against treating resilience as mere bounceback:
"Resilience is the ability to persevere and adapt when things go awry."
The key word is adapt. Not simply endure.
French neuropsychiatrist Boris Cyrulnik — himself a Holocaust survivor whose parents were deported when he was six — became one of Europe's leading resilience researchers. His clinical work with trauma survivors led him to a radical conclusion: wounds are not destiny. He framed resilience using an old Belgian proverb that cuts through false optimism and false despair alike:
"Le pire n'est pas toujours certain." (The worst is not always certain.)
This is not a platitude. Cognitive science backs it up. The human brain is wired with a negativity bias — we systematically overestimate the probability and permanence of bad outcomes. When a startup fails, the brain screams: "This is the end." But Cyrulnik's research across thousands of trauma survivors shows that the catastrophe we imagine is almost always worse than the reality we navigate.
Adversity (逆境): The Developer's Upstream
In Japanese, adversity is written 逆境 (gyakkyo) — literally "reverse environment." An environment that pushes you backward. The exact condition the upstream salmon faces.
Developers know this territory intimately.
The startup you gave three years of your life to closes overnight. The feature you spent six months building gets cut in a 30-minute product meeting. The layoff email arrives on a Tuesday. The technical interview process, brutal and repetitive, sends rejection after rejection. The side project you poured your weekends into gets zero users.
In these moments, we become salmon. We either push upstream or we are carried back to sea.
Consider a pattern many senior engineers recognize in their own careers: the projects that failed taught more than the ones that shipped. The company that folded forced a move that opened a door that was previously invisible. The six months of unemployment became the six months of open-source contribution that eventually led to maintainership of a tool used by hundreds of thousands of developers worldwide.
None of that second act was possible without the first act's collapse.
The Forest Fed by Failure
The ecological truth of the salmon cycle is both beautiful and weighty. The salmon's death is not waste — it is investment. Marine nutrients carried from thousands of kilometers away enrich a forest that has never touched the ocean.
Our failures work the same way, though we rarely see it in real time. The architectural mistakes you made on your first production system — the ones that took down the server at 3am — became the intuition that saved the next team from making the same mistake. The blog post you wrote about that failure reached a junior developer who was about to make an identical error. The mentorship conversation you had because you remembered your own struggle changed someone's career.
Richard Feynman put it bluntly:
"The first principle is that you must not fool yourself — and you are the easiest person to fool."
The lie we tell ourselves most often during failure is: "This meant nothing." But the salmon does not leave the forest hungry.
Five Research-Backed Resilience Practices
Drawing from Reivich and Shatté's CBT-based resilience framework, Cyrulnik's clinical research, and the broader positive psychology literature, these five practices appear most consistently in studies of high-resilience individuals.
1. Cognitive Reappraisal
The practice of deliberately reframing the meaning of a difficult event. Not toxic positivity ("everything happens for a reason!"), but honest alternative interpretation: "This project failed. What did it teach me about product-market fit that I could not have learned otherwise?"
The brain needs narrative to move forward. When you control the narrative frame, you control the direction of recovery.
Daily practice: Each evening, write one sentence beginning with "Today's difficulty taught me..."
2. Focus on Controllables
The salmon cannot remove the waterfall. It can choose its angle of approach. Directing energy toward things outside our control — market conditions, other people's decisions, technology trend reversals — is the cognitive equivalent of swimming sideways in a current.
Translated into developer practice: "I cannot control whether this startup raises its next round. I can control the quality of my code, the clarity of my documentation, and the relationships I build while I am here."
3. Connection: Don't Climb Alone
Salmon migrate in schools. Not for emotional support — but because the salmon ahead breaks the current for those behind, and because the sheer density of the run makes any individual fish statistically less vulnerable to predation.
Social support is one of the most robust predictors of resilience in the psychological literature. The developer culture of individual heroism — white-knuckling through crisis alone — is both romanticized and counterproductive. One person you can be honestly struggling with changes the entire equation.
4. Build Micro-Milestones
No salmon swims 3,200 kilometers in a day. It swims the next hundred meters. The enormity of a long adversity is cognitively paralyzing when viewed as a whole. Breaking it into sprint-sized pieces — what can I do this week, what can I learn this month — activates the brain's reward circuitry on a timeline that sustains motivation.
Each small completion releases dopamine. Dopamine is not just the feel-good neurotransmitter — it is the neurotransmitter of moving toward.
5. Reconnect With Purpose
The salmon's upstream drive is not abstract courage. It is biochemistry in service of continuation. For humans, Viktor Frankl — who survived four Nazi concentration camps and wrote Man's Search for Meaning — confirmed the same principle:
"He who has a why to live can bear almost any how."
If you are stuck in the middle of a difficult project, a punishing job search, or a career that feels directionless, the most practical question you can ask is not "How do I get through this?" It is: "Who benefits when I do?"
When purpose is clear, the current becomes navigable.
Return to Your River
The salmon spends years in the open ocean — abundant, free, moving in any direction it pleases. And then, following a chemical memory older than language, it turns toward home.
You were once that developer who couldn't sleep because you were building something exciting. Who stayed up not because a deadline demanded it but because the problem was beautiful. That is your river. That is your olfactory memory.
The current against you is real. The waterfalls are real. The bears are real. But the salmon does not interpret the difficulty as evidence that the river is wrong. It interprets it as evidence that it is getting closer.
Swim upstream. Your river is waiting.
References
- Wisby, W. J., & Hasler, A. D. (1954). Effect of olfactory occlusion on migrating silver salmon. Journal of the Fisheries Research Board of Canada, 11(4), 472–478.
- Reivich, K., & Shatté, A. (2002). The Resilience Factor. Broadway Books.
- Cyrulnik, B. (2001). Les vilains petits canards. Odile Jacob.
- Frankl, V. E. (1946). Man's Search for Meaning. Beacon Press.
- Helfield, J. M., & Naiman, R. J. (2001). Effects of salmon-derived nitrogen on riparian forest growth. Ecology, 82(9), 2403–2409.