{"title":"Patterns for Organizing Files in Modular C Programs","authors":"C. Preschern","doi":"10.1145/3424771.3424772","DOIUrl":null,"url":null,"abstract":"Implementing large and modular C programs is tricky, because there hardly is any support by the C programming language and hardly any guidance for implementing large C programs in a way that they become modular and thus maintainable. In order to implement modular C programs, as with any other programming language, the question arises how to split the code into different files and where to put these files. While there are conventions in other programming languages on how to do that (e.g. Java advices how to structure files for packages), there are no such specific conventions for C programs. To address this issue, this paper presents design patterns containing guidance on how to structure files for modular C programs.","PeriodicalId":216842,"journal":{"name":"Proceedings of the European Conference on Pattern Languages of Programs 2020","volume":"196 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the European Conference on Pattern Languages of Programs 2020","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3424771.3424772","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Implementing large and modular C programs is tricky, because there hardly is any support by the C programming language and hardly any guidance for implementing large C programs in a way that they become modular and thus maintainable. In order to implement modular C programs, as with any other programming language, the question arises how to split the code into different files and where to put these files. While there are conventions in other programming languages on how to do that (e.g. Java advices how to structure files for packages), there are no such specific conventions for C programs. To address this issue, this paper presents design patterns containing guidance on how to structure files for modular C programs.