Menu

#231 Run Button

open
nobody
1
2004-07-26
2004-07-25
Anonymous
No

Love DrJava...How about a simple run button, to
execute the compiled program inplace of F2? Thanks...

Discussion

  • Neal Horowitz

    Neal Horowitz - 2004-07-26
    • priority: 5 --> 1
     
  • Neal Horowitz

    Neal Horowitz - 2004-07-26

    Logged In: YES
    user_id=697810

    The "Run Current Document's Main Method" feature is one that
    was much debated in DrJava. We added it about a year ago on
    heavy request from new users who were familiar with the
    command-line interface similar to C; however, it goes
    against the pedagogy of DrJava. We encourage students to
    learn to program interactively using the Interactions Pane,
    creating objects and manipulating them that way, rather than
    using a traditional command-line based, procedural
    interface. Thus, we generally do not feel that it is
    appropriate to stress this feature, and so there is no
    button now, nor is there likely to be one in the future.

    However, I will leave the feature request open, in case
    people want to discuss the issue.

     
  • Nobody/Anonymous

    Logged In: NO

    In the context of software development (as opposed to
    recreational programming), we do have a "run" button. It is
    called "test". Seriously, it is just as easy to teach
    test-driven development using JUnit as it is to teach
    students how to use Java's command line interface. In fact,
    I would argue that it is easier to teach the use of JUnit
    because the command line interface relies on the concept of
    static methods.

    We use DrJava to develop DrJava. In this context, I have
    never used the command "Run Current Documents's Main
    Method". On the other hand,
    I invoke the "Test" command after every compile.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.