New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

GUI Programming

by: Ashlynn Bergstrom

GUI Programming COMP 445

Ashlynn Bergstrom
Harding University
GPA 3.97

Frank McCown

Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Frank McCown
Class Notes
25 ?




Popular in Course

Popular in ComputerScienence

This 2 page Class Notes was uploaded by Ashlynn Bergstrom on Monday October 12, 2015. The Class Notes belongs to COMP 445 at Harding University taught by Frank McCown in Fall. Since its upload, it has received 27 views. For similar materials see /class/222130/comp-445-harding-university in ComputerScienence at Harding University.

Similar to COMP 445 at Harding University

Popular in ComputerScienence


Reviews for GUI Programming


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/12/15
Tips to Writing Clean Code Funcfions Capnahzethehm e evo eaohwovdmthemnohon ampe PrlntH vs Prmtstudentmstu q q A u q A w m onemnonon vs amnonons whph penovm each loose aouons pavametev hs pweoes uno on s veaHy domg Coda Use p enty 0Q whne space to o amy code Pm s1atemems endmg WM sembo ons and n on sepavate hnes excep coy oops for mandam vs for u o 1 lt 5 w aoutltlt39r 3373 lt com ltlt 1 v 3 J 1 s 339 Variablas Consfanfs Cave tuohosenvaHab enamesandoons amswwHo enbesehdooumemmg Examea a e b vs score ssseussmss e psmssgmssed Dec ave aHvaHab es at thetop 0Q themnouon ahhoughmmahngtoaoonstamwsaooep ab e ampe 1m 1 sqrtlb vs 1m 1 o Commem me puvpose 0Q each vanab e deo avauon Exampeeonsc nt mags 4 and In hemogsmdems 20 Use u u H u m 9 Hump Documentation Write comments that express more of the whythan the how Document the codes intent Example Divide total grades by total students VS Compute student grade average Always place your name date and program description at the top of the program Make your comments say something about the code that the code can t say about itself Example level Add 1 to level VS level Advance to next level before processing remaining lives Typically a comment should refer to a logical grouping of lines rather than a single line of code Avoid all but the most common abbreviations in comments so they re easy to read Clearly separate comments from code Use a commenting style that is not overly tedious timeconsuming or a maintenance monster Outline your code with comments before you write it rather than doing all of the documentation at the end You ll save yourself time from having to figure out tricky places or forgetting details assumptions and subtleties of design Error Checking Give user useful feedback in error messages and don t scare user away with harsh or ambiguous messages Example Illegal value VS Please enter a number between 1 and 10 Ensure code is free of potential runtime errors like division by 0 strcpystrcat with a NULL string accessing arrays out of bounds etc Dummyproof your programs by making them as robust as possible All input which is received from an external source should be validated Example Making sure a number entered was between 110 or ensuring an inputfile exists before trying to read from it


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Amaris Trozzo George Washington University

"I made $350 in just two days after posting my first study guide."

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Parker Thompson 500 Startups

"It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.