Week 1 @ DBC
Lessons Learned
09.02.2015
Phase 1 at DevBootcamp finally arrived; Week 1 passed faster than you can say "recursion". The warnings of 12 hour days and coding nightmares are true. You will be in a the 6th floor of a building, coding with the same ~30 people for 12 hours, and when you go home for some sleep, you'll dream of how to fix the code you couldn't figure out a few hours ago.
Now that the week is done and my first assessment passed, I've had time to sleep, decompress and summarize what kernels of knowledge were given to me last week. While I could make a long list of the technical terms and methods I learned, the most important things I learned this week were the cultural components of DBC, and the tech world in general.
- Pseudocode: before you write any code, define your problem. You should know what the INPUT and OUTPUT of every piece of code is, as well as every step in between. You should write all this down in plain english, (NO technical terms), and have this pseudocode available readily to refer to when you get bogged down in the minutiae of the code.
- Name your variables carefully: get yourself out of the habit of using generic variable names. "x", "element", "i" mean nothing. Your variable names should tell you exactly what the variable holds. "list_of_scores", "row_length", and "employee_first_names" are much clearer.
- Test everything explain
- There's more than 1 way to skin a cat explain
- Write code for people, not computers explain
- Expose your ignorance explain
- Don't compare yourself explain