New Perspectives On Web Design
By Harry Roberts CHAPTER 1 How do the classes .img and .widget relate to each other? Do they relate to each other at al ...
CHAPTER 1 Modern CSS Architecture and Front-End Development looSe ClaSSeS We’ve covered two real types of class here. First, we ...
By Harry Roberts CHAPTER 1 classes, because they usually work in conjunction with other classes, should give developers a helpfu ...
CHAPTER 1 Modern CSS Architecture and Front-End Development CSS, and changing a few classes in your markup is far easier than re ...
By Harry Roberts CHAPTER 1 Now, I do advocate the use of more classes but, of course, it can be taken too far: This level of gr ...
CHAPTER 1 Modern CSS Architecture and Front-End Development We could attach all our styles and bind all our JavaScript to that o ...
By Harry Roberts CHAPTER 1 Our old ideals have been holding us back, and we need to leave some of these misconceptions behind i ...
CHAPTER 1 Modern CSS Architecture and Front-End Development abouT The auThoR Harry Roberts works as Consultant Front-end Archite ...
Chapter 02 writing Maintainable, future-friendly Code Written by Nicholas Zakas The Roadmap to Maintainable, Clean and Eective ...
CHAPTER 2 Writing Maintainable, Future-Friendly Code ...
By Nicholas Zakas CHAPTER 2 Chapter tWO · by niChOlas ZaKas wRiTing MainTainable, fuTuRe-fRienDlY CoDe hether you learned how to ...
CHAPTER 2 Writing Maintainable, Future-Friendly Code This tends to happen because writing code is more fun than planning to writ ...
By Nicholas Zakas CHAPTER 2 Works temporarily: the code works only so long as some unrelated factor remains true (such as brows ...
CHAPTER 2 Writing Maintainable, Future-Friendly Code you used an IDE like Visual Studio to learn coding, your style probably mat ...
By Nicholas Zakas CHAPTER 2 Some developers rebel when presented with style guides, believing that they can’t properly do their ...
CHAPTER 2 Writing Maintainable, Future-Friendly Code else, re-indented it the way you like? That’s your brain not being able to ...
By Nicholas Zakas CHAPTER 2 that you make so many little decisions while writing code that it’s impossi- ble to keep track of th ...
CHAPTER 2 Writing Maintainable, Future-Friendly Code This comment provides no additional context or information to the line of c ...
By Nicholas Zakas CHAPTER 2 Without the comment, you might wonder why 138.5% is a significant number. With the comment, you know ...
CHAPTER 2 Writing Maintainable, Future-Friendly Code switch(value) { case 1: doSomething(); case 2: doSomethingElse(); break; de ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf