Re: Fortran77 & GUI

From: FCC (fcc509_at_netscape.net)
Date: 05/14/04


Date: Fri, 14 May 2004 11:52:52 +0200

All is well... But, assuming the user makes a mistake in the input file,
he has to run the code first, check the error message that pops up on
the screen (or in the log file), understand it well enough to know how
to correct his mistake.

But this is not all that simple for everyone, including people who are
very familiar with developing similar codes. Imagine an error message
composed of only 5 words: How could you possibly be well informed based
on such small amount of information, particularly when so many input
parameters are interacting (say, for large enough codes which address
many phenomena) ? Even a person who is perfectly literate in say, finite
element codes, can be confused with the input file, and also with the
error message he receives, unless the error message is a paragraph
describing all that could possibly be causing it.

A GUI, on the other hand, is incremental, that is, it will analyze the
options selected so far and prevent all the following irrelevant ones
from being selected (by e.g. dimming them), which is sort of ``driving"
the user to the correct input. It can, and should, display important
information regarding the last selected option as well. I think such an
approach will save many users a lot of effort and time.

Besides, there is nothing that prevents a GUI front end from saving all
this information selected by the user to a valid, error-free input file,
in which case all your arguments below will apply as well :) .

Regards,

FCC

Kevin G. Rhoads wrote:

>>The reason being the interactive command line based input is time
>>consuming and warrants errorfree input (and hard to change them)
>
>
> I have run into this issue numerous times. My preferred solution,
> which may not be the best for you, is to make interactive command
> line input the fall-back which the program attempts if a file of
> input data is not specified. By moving input off to a file, there
> are several advantages:
> 1) by use of various OPENs in conditionals, the input unit can be
> bound to either the console window or to the file -- no changes
> are needed to existing READ statements, provided they already specify
> a unit and only trivial changes are needed to add this if they don't,
> meanwhile -- the file contains the responses the user would have supplied
> interactively
> 2) this is easy to test using command-line redirection with NO
> code changes on many platforms
> 3) input errors are reduced since the file can be editted in advance
> and new, modified runs can be made by copying an input file and
> modifying it
> 4) with a trivial extension, the program can be made to take multiple
> command files and do each run in order
> 5) the existing interactive input is preserved as an option, which may
> be an advantage in some situations
>
> Putting a GUI front-end on what is essentially a batch number crunch
> program is, to my taste, not a good approach.
>
> YMMV
> Kevin



Relevant Pages

  • RE: The field is too small to accept . . .
    ... Also you might be getting some non-printable ASCII characters that won't ... Also consider not using an input mask at all for the zipcode or phone ... Postal Codes in most countries look nothing like zip codes and won't fit the ... I tried everything to get this error message to stop. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: System Error Blank Screen
    ... codes in event viewer and on this computer i don't recieve stop codes in ... I recieve a System Error with and Error Code and parameter ... A picture of the error message ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: System Error Blank Screen
    ... replaceing the mother board. ... codes in event viewer and on this computer i don't recieve stop codes in ... Viewer for error messages, but the only error message is a system ...
    (microsoft.public.windowsxp.help_and_support)
  • ExceptionInInitializerError & Xerces
    ... I have the following codes to parse xml using xerces and I think when I ... the error but the error message does not give me any ideas which files ...
    (comp.lang.java.programmer)
  • Re: How to specify current logged in user for File Open dialog?
    ... error message is correct. ... should not be interacting with the user, especially with a file open dialog. ... interface with some service gingerbread and pretend it is a service. ... "LOCAL SERVICE" user. ...
    (microsoft.public.vc.mfc)