Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: identifier length (was: Pop cost patch (resending via
Home

[Freeciv-Dev] Re: identifier length (was: Pop cost patch (resending via

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: identifier length (was: Pop cost patch (resending via bug system) (PR#897))
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Fri, 24 Aug 2001 01:13:13 +0100 (WET DST)

On Fri, 24 Aug 2001, Reinier Post wrote:

> On Thu, Aug 23, 2001 at 09:24:54PM +0200, Raimar Falke wrote:
> 
> > It looks like the arguments "make the code ugly and harder to follow"
> > are personal and I have learned I would have a very hard to convince
> > you. 
> 
> "Names ought to be descriptive.  Names are expected to be so good that
> the programmer will understand the code without any comments."
> This is what we were taught in out introductory [rogramming classes
> in computer science, and I have never found reason to disagree with it.
> The code will be read much much more often than it is written.

And here is what i learned in Human/Machine interface class:

* buttons shouldn't be too small so they can be easily clicked on.
* buttons shouldn't be horrendously big so people don't get an arm/wrist
  disability to click on a button. Besides this wastes screen real estate.
* button labels should be short and meaningful.

We can make button sizes more dynamic in some places.
I find button labels with >20 chars and/or multiple lines a sign of a
poorly chosen string. I know its hard to come up with good strings but it
certainly isn't impossible.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa




[Prev in Thread] Current Thread [Next in Thread]