Sure about that? The effort put into a leetcode medium or hard is usually way above the kind of code i’m mostly doing at work — and realistically i only have at most 2 hours a day of that level of work in me, the rest is the autopilot code, reviews meetings, docs etc.
I’ve found aoc/leetcode pretty much reversed the accidental atrophy for me
Leetcode is about learning an algorithm/data structure. Programming in general is about much more than that. Knowing minimax and ring buffers doesn’t help much in knowing whether what your LLM does makes sense. For that you need to work on more open ended questions.
There is more to software engineering than solving code puzzles. What about debugging, writing clean code, writing effective tests, architecture, optimization, profiling etc.? None of these are exercised by doing leetcode. Use it or lose it.
Comments
Keeping with your example, this is the equivalent of going to the gym just to do a single set on the bench press.
Your brain is still atrophying.
Sure about that? The effort put into a leetcode medium or hard is usually way above the kind of code i’m mostly doing at work — and realistically i only have at most 2 hours a day of that level of work in me, the rest is the autopilot code, reviews meetings, docs etc.
I’ve found aoc/leetcode pretty much reversed the accidental atrophy for me
Leetcode is about learning an algorithm/data structure. Programming in general is about much more than that. Knowing minimax and ring buffers doesn’t help much in knowing whether what your LLM does makes sense. For that you need to work on more open ended questions.
There is more to software engineering than solving code puzzles. What about debugging, writing clean code, writing effective tests, architecture, optimization, profiling etc.? None of these are exercised by doing leetcode. Use it or lose it.
Well i’ve been working through adventofcode in various languages and im def spending a lot of time in my debugger.
shrug
In my opinion going to the gym for one bench press is better than sitting at home watching tv.
Would love to hear your suggestions on how to stay in ”mental” shape in the AI age.