KrasLamp: A refactoringassistant for K-12 students

Alaaeddin Swidan, Technische Universiteit Delft

In KrasLamp we present an automatic web-assistant that provides instantaneous refactoring suggestion to students about their code, while they are coding in Scratch. In software engineering, refactoring is the operation of changing existing code for the sake of making it easier to maintain and understand in the future. With KrasLamp, we aim at introducing higher level concepts of software engineering to K-12 students so that they can create cleaner code rather than any code. The tool is designed to handle particular code smells: bad naming, long scripts, duplicate code, and dead code. The tool is provided as a web-extension, and a student, in theory, can click the extension anytime he wants some feedback about the smelliness of his code.