July 2010
2 posts
RSpec Backtraces
For your sanity, include ‘—backtrace’ in your spec.opts file when using RSpec. It’ll help you a lot when you encounter a deep error in your code and RSpec is only displaying a shallow backtrace.
Jul 24th
5 Tips to Become a Productive Coder
Avoid distractions. Programmers are usually computer savvy and will have a variety of applications open all day. Close down your RSS reader, Twitter client, etc and stick to a few hours of solid coding per day. Avoid pre-mature optimization. You may not even keep the part of code you are writing right now, so why spend the effort to right it and optimize it if you will end up throwing it out...
Jul 18th