1 / 5

The Java Critiquer: Incremental Development of Educational Critiquing Systems

The Java Critiquer: Incremental Development of Educational Critiquing Systems. Lin Qiu. Enter code. Manual critiquing. Return code. Automatic critiquing. Review critiques. int x;. Use more descriptive variable names. public void increaseRadius() { radius = radius + 1;

Télécharger la présentation

The Java Critiquer: Incremental Development of Educational Critiquing Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Java Critiquer: Incremental Development of Educational Critiquing Systems Lin Qiu

  2. Enter code Manual critiquing Return code Automatic critiquing Review critiques int x; Use more descriptive variable names. public void increaseRadius() { radius = radius + 1; diameter = radius*2; } public boolean isValid() { if (radius > 0) return true; else return false; } Java has a simpler way to write this. Use ++radius; Don't cram things together without spaces, ex. x+y*z You never need to write an if to return true in one case and false in the other. Just write return (radius >0); instead.

  3. Human Critiquer Critiquing System Incremental authoring Add a critique Realize Collect critiques Critique Authoring Refine the critique accumulating Familiarize Improve critiques Add a pattern Develop automation Generalize Pattern Authoring intelligence Refine the pattern Optimize Improve automation Share the critique and pattern Publicize Provide public access

More Related