My more productive 10x days has little to do with programming syntax. These are days when I focus on gaining clarity on the problem/objective and writing the least amount of code to solve the problem.
Writing less code requires extensive knowledge of frameworks, patterns and best practices.
Memorizing programming syntaxes and paradigm makes getting in the flow easier because of reduced context switching, makes work more fun and hence greater productivity (10x days). But at the heart of it, being productive requires understanding of the problem domain in depth, knowing what matters and what doesn't (YAGNI and pareto-ing mercilessly).
Writing less code requires extensive knowledge of frameworks, patterns and best practices. Memorizing programming syntaxes and paradigm makes getting in the flow easier because of reduced context switching, makes work more fun and hence greater productivity (10x days). But at the heart of it, being productive requires understanding of the problem domain in depth, knowing what matters and what doesn't (YAGNI and pareto-ing mercilessly).