Quiz
Answer the following questions to test your knowledge of this chapter:
- What is backward compatibility?
- The ability to interact with newer versions of our app
- The ability to interact with older versions of our app
- What is forward compatibility?
- The ability to interact with newer versions of our app
- The ability to interact with older versions of our app
- Would there be any backward compatibility problem if, instead of changing the field type from uint32 to uint64, we were changing from uint64 to uint32?
- Yes, we might have an overflow
- No, all uint32 values are included in uint64
- Would there be any forward compatibility problem if, instead of changing the field type from uint32 to uint64, we were changing from uint64 to uint32?
- Yes, we might have an overflow
- No, all uint32 values are included in uint64
- What could potentially happen if we changed a field type from int32 to uint64 (hint: think in both forward and backward compatibility terms)?
- Negative values will be encoded...