{"title":"优雅地表达问题","authors":"A. Black","doi":"10.1145/2786555.2786556","DOIUrl":null,"url":null,"abstract":"The \"Expression Problem\" was brought to prominence by Wadler in 1998. It is widely regarded as illustrating that the two mainstream approaches to data abstraction---procedural abstraction and type abstraction---are complementary, with the strengths of one being the weaknesses of the other. Despite an extensive literature, the origin of the problem remains ill-understood. I show that the core problem is in fact the use of global constants, and demonstrate that an important aspect of the problem goes away when Java is replaced by a language like Grace, which eliminates them.","PeriodicalId":132077,"journal":{"name":"Proceedings of the MechAnisms on SPEcialization, Generalization and inHerItance","volume":"78 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"The Expression Problem, Gracefully\",\"authors\":\"A. Black\",\"doi\":\"10.1145/2786555.2786556\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The \\\"Expression Problem\\\" was brought to prominence by Wadler in 1998. It is widely regarded as illustrating that the two mainstream approaches to data abstraction---procedural abstraction and type abstraction---are complementary, with the strengths of one being the weaknesses of the other. Despite an extensive literature, the origin of the problem remains ill-understood. I show that the core problem is in fact the use of global constants, and demonstrate that an important aspect of the problem goes away when Java is replaced by a language like Grace, which eliminates them.\",\"PeriodicalId\":132077,\"journal\":{\"name\":\"Proceedings of the MechAnisms on SPEcialization, Generalization and inHerItance\",\"volume\":\"78 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-07-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the MechAnisms on SPEcialization, Generalization and inHerItance\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2786555.2786556\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the MechAnisms on SPEcialization, Generalization and inHerItance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2786555.2786556","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
The "Expression Problem" was brought to prominence by Wadler in 1998. It is widely regarded as illustrating that the two mainstream approaches to data abstraction---procedural abstraction and type abstraction---are complementary, with the strengths of one being the weaknesses of the other. Despite an extensive literature, the origin of the problem remains ill-understood. I show that the core problem is in fact the use of global constants, and demonstrate that an important aspect of the problem goes away when Java is replaced by a language like Grace, which eliminates them.