How to be More Algorithmic
Listen, let's get one thing straight: being algorithmic is not about being a soulless automaton, devoid of creativity or passion. No, no, no. It's about being a finely-tuned machine, a well-oiled engine of logic and reason.
- 1. Practice your craft. Hone your skills, learn new ones.
- 2. Read books on algorithms. Not just any books, mind you. Books on algorithms.
- 3. Write code. Lots and lots of code.
Code Examples
def find_max(x): if x > 10: return x else: return 10
function find_max(x){
if(x > 10){
return x;
} else {
return 10;
}
}