Good Code, Bad Code by Tom Long

Good Code, Bad Code by Tom Long

Author:Tom Long [Tom Long]
Language: eng
Format: epub
Publisher: Manning Publications Co.
Published: 2021-08-26T22:00:00+00:00


6.6.4 Caveat: Relying on another project’s enum

Sometimes our code may rely on an enum that is owned by a different project or organization. How we should handle that enum will depend on the nature of our relationship with that other project, as well as our own development and release cycle. If the other project is likely to add new enum values without warning and this would immediately break our code, we may have no choice but to be more permissive in how we handle new values. As with many things, we need to use our judgment.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.