how to get started in a new codebase
TRANSCRIPT
1. How do you walk in and kick ass in a new codebase?
2. How do you make code that'seasy for others to learn?
Quite reasonable things to ask in a interview
What kind of [vcs, workflow] do you use?
How often do you deploy code?
What do you wish was better about your codebase?
What would I do in my first week, month?
Get a 30,000' view
What does this code do from a business standpoint?
Who uses it? How?
What's known about it?
Gather all documentation that you can find and read it.
It's probably lies but it's comforting and it makes you look
like you're doing something.
During a code walkthrough
Get an overview of the code structure and evolution
Populate your vocabulary sheet
Know what patterns are being used + learn them
Know where the ugly and the scary parts are
Get a bug to fix
Most companies will start you out on one. Open source: see if any are tagged or ask on IRC.
DO NOT STRUGGLE. Give yourself a time limit and then ask for help.
People expect you to be slow & confused. Take advantage of this.
Stop and smell the code paths
What are the folders and entry points?
What are the high-level components?
What third party libraries does it use?
Where is the configuration?
Good code is...
You can make assumptions and usually be right
You don't have to understand all of the code to understand part of the code
Clarity trumps correctness
Attributions
https://www.flickr.com/photos/adamskev/1414073283
https://www.flickr.com/photos/alc_chris/8887270072/
https://www.flickr.com/photos/goodsardine-clean/543506410/
https://www.flickr.com/photos/thevlue/5228406300
https://www.flickr.com/photos/broadbeanmedia/8103976340/