Code1161 — Week5
Holy wars assignment
About understanding what it really means to be a programmer.
It will be an individual presentation.
Your environment
Packages — a bit like apps
Both python 2.7 and atom have package managers.
Atom — text editor, based on sublime but not as fast. Nicer plugins, support
‘nix craft
Tab autocompletes
double tap tab gives options
ls lists the files in a directory
ls-a a bit more info
ls –h will give you help with ls
ls — help will give you more help
man-ls gives you the whole help file
cd change directory
cd .. go to parent
cd ../../ go to parent’s parent
Tests
red — test failed
green — passes the test (not necessarily good code)
refactor
Sometimes one person will write the code, another the test.
Abstraction
Layers within layers in commands
Editor
Shift + arrow select
Ctrl+ arrow jump word
Shift + ctrl + arrow select by word
Alt+f3 select all matching