Statics are Globals | Code Walks 002
Автор: Christopher Okhravi
Загружено: 2016-07-16
Просмотров: 6444
Описание:
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”
https://en.wikiquote.org/wiki/Alan_Pe...
“Global State and Singletons” (Misko Hevery, Clean Code Talks at Google)
• The Clean Code Talks - "Global State and S...
“Conditionals breed” (Sandi Metz)
• RailsConf 2015 - Nothing is Something
“Program to interfaces not implementations”
https://en.wikipedia.org/wiki/Design_...
“Good architecture is to maximize the number of decisions not made”
• Ruby Midwest 2011 - Keynote: Architecture ...
“Open/closed principle”
https://en.wikipedia.org/wiki/Open/cl...
More on the evils of static members:
http://googletesting.blogspot.se/2009...
http://googletesting.blogspot.se/2008...
http://googletesting.blogspot.se/2008...
JOBY Tripods (mentioned in the end)
Medium: https://geni.us/x6nt
Large: https://geni.us/7cUO
Original upload date:
Feb 13, 2016
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: