DEV Community

Developer Tea

Mutable States, Refactory Tips & Reasonable Code Techniques

In today's episode I'll dig into mutable states and go over two things you can do to get away from relying on external states so you can read and test methods. Be sure to check out Sandy Metz's 2015 Railconf talk "nothing is something" on why conditional statements make code more difficult to reason.

Special thanks to Today's sponsor: Code School

Code School is an online learning destination for existing and aspiring developers that teaches through entertaining content. Visit www.CodeSchool.com/developertea for more information and start playing courses now.

Thanks for listening and until next time,

Enjoy your Tea

Episode source