- Mastering React Test:Driven Development
- Daniel Irvine
- 229字
- 2021-06-24 14:44:58
Solving the exercises
Almost every chapter has an Exercises section at the end. These exercises are designed to give you ideas for how you continue practicing what you've learned. They have already been solved in the GitHub repository so you can see how I've solved them. The next chapter always starts from the point where I've solved the exercises.
Should you choose to solve the exercises—which I encourage you to do—then the likelihood is that you'll have solved them in a different way than I would have. Unfortunately, this might leave you in merge hell when you begin the next chapter.
If you find yourself in this situation, I suggest you first study the differences between your approach and mine. Think about how they differ and the relative merits of each. (Do not think that mine will be any better than yours.)
Then, ensuring you've committed and successfully stored your code, move to a new tag and a new branch, starting again.
In other words, be pragmatic and don't spend an inordinate amount of time fighting the system. It's better to keep moving and not get stuck or frustrated.
Pro tip: always keep your exercise solutions in a separate commit. When you move on to the next chapter, branch from your pre-Exercises commit and merge in the official exercise solutions instead.
- Boost.Asio C++ Network Programming(Second Edition)
- Apache ZooKeeper Essentials
- 軟件項(xiàng)目管理(第2版)
- Java從入門到精通(第5版)
- 技術(shù)領(lǐng)導(dǎo)力:程序員如何才能帶團(tuán)隊(duì)
- Mastering Ubuntu Server
- Visual Basic程序設(shè)計(jì)習(xí)題解答與上機(jī)指導(dǎo)
- Bootstrap 4:Responsive Web Design
- Python機(jī)器學(xué)習(xí)算法與實(shí)戰(zhàn)
- Scratch趣味編程:陪孩子像搭積木一樣學(xué)編程
- Go語(yǔ)言編程
- SQL Server 2008 R2數(shù)據(jù)庫(kù)技術(shù)及應(yīng)用(第3版)
- 軟件體系結(jié)構(gòu)
- Xamarin Blueprints
- SQL Server 2008中文版項(xiàng)目教程(第3版)