Avoid Magic Numbers by using Enum in C/C++ January 25, 2015 c / c++, programming languages, tricks No Comments Using Magic Numbers is one of the causes of ugly code. For example, if you want to deal with two protocols, HTTP and FTP (to count the data packages), … [Continue Reading...]