{"title":"Useful Compiler Directives for Teaching Programming","authors":"J. Minor, L. Gewali","doi":"10.1109/ITNG.2012.128","DOIUrl":null,"url":null,"abstract":"Using pre-processor directives is an important step in writing programs in languages that include C++ and Java. We examine the use of pre-processor directives with the goal of making a beginning programming language pedagogically effective. We propose a set of compiler directives that can be used in teaching a programming language similar to C++ so that student's programming productivity increases by discouraging them from using irrelevant/confusing constructs and error-prone syntax. The proposed directives are structured into three groups: (i) error-checks, (ii) debugging-aids, and (iii) file-merging directives.","PeriodicalId":117236,"journal":{"name":"2012 Ninth International Conference on Information Technology - New Generations","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-04-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 Ninth International Conference on Information Technology - New Generations","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ITNG.2012.128","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Using pre-processor directives is an important step in writing programs in languages that include C++ and Java. We examine the use of pre-processor directives with the goal of making a beginning programming language pedagogically effective. We propose a set of compiler directives that can be used in teaching a programming language similar to C++ so that student's programming productivity increases by discouraging them from using irrelevant/confusing constructs and error-prone syntax. The proposed directives are structured into three groups: (i) error-checks, (ii) debugging-aids, and (iii) file-merging directives.