Changeset a8f44c8 for doc/theses/jiada_liang_MMath/conclusion.tex
- Timestamp:
- Aug 8, 2024, 1:06:43 PM (24 hours ago)
- Branches:
- master
- Children:
- 5b4c8df
- Parents:
- b0069a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/conclusion.tex
rb0069a3 ra8f44c8 4 4 The goal of this work is to extend the simple and unsafe enumeration type in the C programming-language into a complex and safe enumeration type in the \CFA programming-language, while maintaining backwards compatibility with C. 5 5 Within this goal, the new \CFA enumeration should align with the analogous enumeration features in other languages to match modern programming expectations. 6 Hence, the \CFA enumeration features are b urrowed from a number of programming languages, but engineered to work and play with \CFA's type system and feature set.6 Hence, the \CFA enumeration features are borrowed from a number of programming languages, but engineered to work and play with \CFA's type system and feature set. 7 7 8 8 Additional safety is provided by strong type-checking of enumeration initialization and assignment, ensuring an enumeration only contains its enumerators. … … 42 42 enum( wchar_t * ) { Jack = L"John" }; 43 43 \end{cfa} 44 The enumerating feature was developed in parallel with the \CFA iterator. In the forseeable future when iterator come to matuity, \CFA enumeration can adapt iterator-related traits and 45 be rewritten with iterator.
Note: See TracChangeset
for help on using the changeset viewer.