How a language-based GUI generator can influence the teaching of object-oriented programming

How a language-based GUI generator can influence the teaching of object-oriented programming
复制标题

基于语言的 GUI 生成器如何影响面向对象编程的教学

DOI:
--
复制
发表时间:
2012
期刊:
Technical Symposium on Computer Science Education
影响因子:
--
通讯作者:
P. Dewan
P. Dewan
中科院分区:
--
文献类型:
--
作者:
P. Dewan

文献摘要

被引文献

相似文献

基于语言的直接操作用户界面生成器自动从其类直接创建对象的可视化,允许用户编辑该可视化,并调用对象中的方法以响应这些编辑。这样的生成器可以改变,我们认为,改进了关于编程约定、方法、状态、构造函数、前提条件、MVC、多态、图形、结构化对象、循环、并发和注释的讲座和作业。我们已经构建了这样一个生成器,它具有几个新颖的教学功能,例如交互实例化一个类,交互调用接受任意参数的方法和构造函数,可视化表示记录、序列、表格和图形的对象,使用前提条件禁用/启用用户界面元素,以及自动生成模型线程。大约十年来,我们一直致力于并使用这样的生成器来教授CS1和CS2。
A language-based direct-manipulation user-interface generator automatically creates a visualization of an object directly from its class, allows users to edit the visualization, and invokes methods in the object in response to these edits. Such a generator can change, and we argue, improve the lectures and assignments on programming conventions, methods, state, constructors, preconditions, MVC, polymorphism, graphics, structured objects, loops, concurrency, and annotations. We have built such a generator, which has several novel features for teaching such as interactive instantiation of a class, interactive invocation of methods and constructors that take arbitrary arguments, visualization of objects representing records, sequences, table and graphics, use of preconditions to disable/enable user-interface elements, and automatic generation of model threads. We have been working on and using such a generator for teaching CS 1 and CS 2 for about a decade.