There’s probably something to be said for this quote but I would hasten to add that once you start hacking I don’t think everything that’s been learnt before goes out the window!
First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. — George Carrette