Pragmatic Programmer Note
The Pragmatic Programmer
Here are some markdowns and thoughts when I reading The Pragmatic Programmer.
A Pragmatic Philosophy
- Know yourself then make reasonable dicision.
- Be a responsible man.
- Make thing as better as possible.
- Dare to make change.
- Be catalyst for change
- Remember the big picture.
- Get feedback from client.
- Good enough is the best.
- Always upgrade yourself.
- Find out problem’s reason.
- Critically analyze what you read and hear.
- Correctly express yourself and your problem.
- Communicate with others.
- Make good chance.
- Listen to others.
- Make reaction to others.
A Pragmatic Approach
- Don’t repeat yourself(DRY), make thing easy to reuse.
- Do one thing and do it well, make thing modular and have different levels.
- Information hiding, avoid to use global data.
- Try first then get feedback from prototype.
- Choose the best language to solve a problem.
- Estimate to avoid surprises.
The Basic Tools
- Keep knowledge in plain text.
- Use the power of your command shells.
- Use a single editor well.
- Always use source code control.
- Make tracing style log file.
- Learn a text manipulation language.
- Write code that wtires code.
Pragmatic Paranoia
- You can’t write perfect software.
- Design by contract and convention.
- Easy in and strict out.
- Check condition in caller, assert in callee.
- Check error in callee, solve in caller.
- Finish what you start.