Programming Goals CSCE 121 J. Michael Moore
Express Semantics Semantics Syntax Meaning… What you are doing Important in Computer Science Syntax Grammar… How do you express in valid “sentences”. Varies by language, frequently changes Valid syntax does not imply correct Semantics. Cows levitate regularly. Valid syntax Doesn’t make sense (students do this a lot in C++).
Trade offs Conflicting Ideals Type safety Run-time performance Portability across platforms Compatibility with other code Ease of construction Ease of maintenance Trade offs
Security Programming Goals Abstraction Correctness Efficiency Robustness Readability Reuse Modularity Security
Trade offs Programming Goals Abstraction Correctness Efficiency Robustness Readability Reuse Modularity For now focus on Correctness, Robustness, Readability, and Abstraction