Welcome to MSDN Blogs Sign in | Join | Help

Computer Science Teacher - Thoughts and Information from Alfred Thompson

Alfred Thompson's blog about teaching computer science at the K-12 level. Alfred was a high school computer science teacher for 8 years. He has also taught grades K-8 as a computer specialist. He has written several textbooks and project books for teaching Visual Basic in high school and middle school. Alfred is the K-12 Computer Science Academic Relations Manager for Microsoft and is trying to be the Microsoft Education Blogger.

Syndication

News


Featured in Education.AllTop.com



TwitterCounter for @alfredtwo




Programming Proverbs 22: Get the program correct before trying to provide good output

In some ways I think this is one of those proverbs that was more important back in the days when batch jobs were the way things worked. On the other hand there is an important, if perhaps more general, bit of advice here. That advice is to spend the time up front to get the right results before getting too hung up on how those reports are handled/displayed.

A lot of developers, and students are horrible at this, like to spend a lot of time on appearances before they get the "invisible" parts of the program working. More than once I have seen a student turn in a beautiful program with a great looking user interface that fails to execute the most basic of functions. I've heard a lot of teachers complain that this sort of thing is made worse by tools that make creating fancy graphical user interfaces easy. There is no doubt that playing with a GUI can be a distraction. People need to remember that incorrect or insufficient information is of little use no matter how pretty it looks.

IN most cases getting the output to look great, whether that means the columns line up or the screen is well laid out and well organized, in a fairly trivial task. It may be tedious at times and there may very well be a good deal of testing to make sure all of the edge cases display well. But really getting the output right can usually be safely left until later in the development cycle. IN professional development it might even be better to make that task a separate on and hand it off to graphic designers rather than programmers. The promise of XAML and the Expression Suite of tools among others (someone else must be doing similar things I assume) make that easier. Form and function have never been easier to separate.

A programmers main job is to get the algorithm coded correctly and tested well. Once the program is correct someone can spend the time needed to make it look cool to the user.

This is the twenty-second of a series of posts based on the book Programming Proverbs by Henry Ledgard. The index for the series is an earlier post and discussion of the list as a whole is taking place in the comments there. Comments on this "proverb" are of course very welcome here.

 

Published Friday, June 29, 2007 3:12 AM by Alfred Thompson

Comments

# Interesting Finds: June 29, 2007 @ Friday, June 29, 2007 10:40 AM

Jason Haley

# re: Programming Proverbs 22: Get the program correct before trying to provide good output @ Tuesday, July 03, 2007 4:15 PM

Great points in the article - I agree that you need to have a solid backend, especially when creating web sites.  Many people get hung up on making the site look pretty, but you need to have the solid integration of a good looking site with a useful backend and clean code.

CCIGrad

# Programming Proverbs 23: When the program is correct, produce good output @ Friday, July 06, 2007 3:20 AM

This proverb is a corollary to the last post in this series . While getting the program correct and the

Noticias externas

New Comments to this post are disabled
Page view tracker