A nice link found tonight: GUIdebook is a website dedicated to preserving and showcasing Graphical User Interfaces (GUI). There is no judgment nor opinion associated with choices made by the various companies. They just show what is and what was the user interfaces, icons, splash screens, etc. of various operating systems and software.
Category: User Interface
Looking for a C++ widget toolkit for Linux
I am looking for a widget toolkit (a software bag of things that allow you to create GUI). I have two desideratas: I want to use C++ and I want to use it on GNU/Linux. I’ve found two big lists of widget toolkits: one on Wikipedia and one on atai.org. For the moment, I think of using gtkmm or wxWidgets but I need more information …
Now, some grumpy people will tell me they only use text-based applications 😉
if x==456 then //checks for conditional x and executes code if x is true
In What Workplace Coding Practices Do You Use? (Slashdot), there are some interesting notes about coding practices. The main one is, of course, the use of comments (and good ones: synchronised with code update, not too short, not too long, not explaining obvious lines like (if x == 456) except if it has a very special meaning, it may be interesting to write comments first in order to have clear ideas of what we want from the code, etc.).
A good comment is not describing what is done (since everybody can see that from the code itself), a good comment describes why something is done, or what the overall objective of the statement is.
The best advice I ever got was to write “why”, not “what” a piece of code does. Any Computer Science peon knows that “counter++” increments counter. What they might not know is why.
Other recommendations include good variable and function names, try not to make any absurdly complicated statements, code review by another person, use of unit testing, etc. Finally, I will add two nice links: one /. comment listing 15 things to do (and not to do) and joelonsoftware.
Computer science is there at least since the years 1960 and, since then, people were not able to agree on final standards. Maybe it’s because computer science is not the one it used to be 40 years ago: we have more programming languages, more operating systems, more development environments, etc.
The importance of labels (on icons)
While looking at the User Interface guidelines from various well-known companies, I found this text stating The Importance Of Labels. In his blog, Jensen Harris (apparently working on Outlook at Microsoft) write about his experience with icons: icons only are not used by non-expert people although icons with label are extensively used. When reading the comments at the end, I saw an interesting thread … If we accept that people will preferably use labelled icons, why not try text-only buttons (instead of icons)? I probably won’t work since, when using the two (icon + label), you are simply making an association between the meaning that you can read in text and the symbol. Later on, you’ll simply look for the symbol, knowing that it has a certain meaning in a certain situation.
This text was linked from GUUUI, the interaction designer’s coffee break.
Now, some grumpy people will tell me they only use text-based applications 😉