Рет қаралды 6,323
Statics are globals, and globals make your code unchangeable and untestable. Let me explain what I've learned from others. STARTS AT 00:33.
This video is part of a series where we go back to the basics and question common assumptions that we often make. Link below:
• All Code Walks
Links to things mentioned in the video:
“One man's constant is another man's variable”
en.wikiquote.o...
“Global State and Singletons” (Misko Hevery, Clean Code Talks at Google)
• The Clean Code Talks -...
“Conditionals breed” (Sandi Metz)
• RailsConf 2015 - Nothi...
“Program to interfaces not implementations”
en.wikipedia.o...
“Good architecture is to maximize the number of decisions not made”
• Ruby Midwest 2011 - Ke...
“Open/closed principle”
en.wikipedia.o...
More on the evils of static members:
googletesting.b...
googletesting.b...
googletesting.b...
JOBY Tripods (mentioned in the end)
Medium: geni.us/x6nt
Large: geni.us/7cUO
Original upload date:
Feb 13, 2016