eleventh alliance

Programming practices

<meta content="OpenOffice.org 2.4 (Win32)" name="GENERATOR" /><br /> <style type="text/css"> <!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --> </style> <p lang="en-US"> <p><meta content="text/html; charset=utf-8" http-equiv="CONTENT-TYPE" /><title /><meta content="OpenOffice.org 2.4 (Win32)" name="GENERATOR" /><br /> <style type="text/css"> <!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --> </style> <p lang="en-US">This page will cover some bullet points and explanations to things learned about programming. Please feel free to contact us, so we could make this list of useful tips for getting in to programming.</p> <ul> <li> <p lang="en-US">Learn new languages, technology’s or coding styles<br /> Every time you tread new ground and learn something new you broaden your horizon and become more useful and therefore better programmer. Knowing enough about much will help you when coding with your technology, language or style of choose.</li> </ul> <ul> <li> <p lang="en-US">Comment/Document your code well<br /> This doesn’t imply that you should write an essay every time you get some extra space. But just have in mind that what something does is pretty easy to remember or figure out, even one year down the line. But coming back to a piece of code a few years later and be able to change the code, so it will do what was intended even better than when you wrote it, is a powerful experience.</li> <li> <p lang="en-US">Reuse the knowledge you have instead of code<br /> Reusing code is pretty easy and time saving but in the end the application may not handle in the way it was intended and you end up writing a lot of code again and perhaps when you don’t have time to do so.</li> <li> <p lang="en-US">Try to put yourself in the shoes of the users<br /> This part could be subtitled “What could a user do wrong?” or “What will the user expect?”. These kinds of questions is really important. If your able to create an application that works seamlessly and no one asks you how to use it. You have either documented it well or built a really intuitive application.</li> <li> <p lang="en-US">Always assume that you have done something wrong<br /> Usually you have made some fault during the development. Either some thought was wrong, you misspelled something or you just hadn’t thought about something. Be grateful every time someone finds a bug because if you fix it, that’s one more piece to perfection.</li> <li> <p lang="en-US">Try to find all error points<br /> Go though your code and try to find everything that could go wrong and handle it appropriately. Even if this never should happen, just creating an “humanly understandable” error message when it does will help you in the event of it actually occurring.</li> <li> <p lang="en-US">Improve your code or functions when ever you get the opportunity<br /> It’s a pretty empowering feeling when you build something that just works and you come back to it 6 months down the line and think, “What a piece of rubbish! I could do that so much better now”, and then sit down and do just that. Perhaps the application will hammer on for 6 more months before you have to change it again.</li> </ul> <p lang="en-US">This will be updated with everything forgotten or fix what ever is wrong with this, there should be something right <img src='http://www.11a.nu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p> <p lang="en-US">Keep up the good work, and have fun.</p> <p style="margin-bottom: 0cm"> <div class="date"><span class="comment"><a href="http://www.11a.nu/devsci/programming-practices/#respond" title="Comment on Programming practices">Comments (0)</a></span> <span class="time">12:15 am</span> | </div> <!-- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"> <rdf:Description rdf:about="http://www.11a.nu/devsci/programming-practices/" dc:identifier="http://www.11a.nu/devsci/programming-practices/" dc:title="Programming practices" trackback:ping="http://www.11a.nu/devsci/programming-practices/trackback/" /> </rdf:RDF> --> <!-- Theme by Sreejith R - http://www.GFXedit.com / http://www.sr-ultimate.com --> <!-- Theme by Sreejith R - http://www.GFXedit.com / http://www.sr-ultimate.com --> </div> <div class="line"></div> </div> <div id="sidebar"> <h2>Articles</h2> <ul> <li class="page_item page-item-3"><a href="http://www.11a.nu/book-reviews/" title="Book reviews">Book reviews</a> <ul> <li class="page_item page-item-4"><a href="http://www.11a.nu/book-reviews/clifford-stolls-the-cuckoos-egg/" title="Clifford Stoll’s “The Cuckoo’s Egg”">Clifford Stoll’s “The Cuckoo’s Egg”</a></li> <li class="page_item page-item-5"><a href="http://www.11a.nu/book-reviews/penn-brumm-don-brumms-8038680486-assembly-language-programming/" title="Penn & Don Brumm’s 80386 80486 Assembly Language Programming">Penn & Don Brumm’s 80386 80486 Assembly Language Programming</a></li> </ul> </li> <li class="page_item page-item-6"><a href="http://www.11a.nu/cryptography/" title="Cryptography">Cryptography</a> <ul> <li class="page_item page-item-45"><a href="http://www.11a.nu/cryptography/introduction-to-cryptography/" title="Introduction to Cryptography">Introduction to Cryptography</a></li> </ul> </li> <li class="page_item page-item-8 current_page_ancestor current_page_parent"><a href="http://www.11a.nu/devsci/" title="Dev/Sci">Dev/Sci</a> <ul> <li class="page_item page-item-9"><a href="http://www.11a.nu/devsci/compression/" title="Compression">Compression</a> <ul> <li class="page_item page-item-11"><a href="http://www.11a.nu/devsci/compression/compressioncompression-introduction-to-the-huffman-algorithm/" title="Introduction to The Huffman algorithm">Introduction to The Huffman algorithm</a></li> <li class="page_item page-item-14"><a href="http://www.11a.nu/devsci/compression/compression-introduction-to-the-lempel-ziv-algorithm/" title="Introduction to The Lempel-Ziv algorithm">Introduction to The Lempel-Ziv algorithm</a></li> </ul> </li> <li class="page_item page-item-66 current_page_item"><a href="http://www.11a.nu/devsci/programming-practices/" title="Programming practices">Programming practices</a></li> </ul> </li> <li class="page_item page-item-15"><a href="http://www.11a.nu/essays/" title="Essays">Essays</a> <ul> <li class="page_item page-item-17"><a href="http://www.11a.nu/essays/modula-3/" title="Modula 3">Modula 3</a></li> </ul> </li> <li class="page_item page-item-19"><a href="http://www.11a.nu/politcal/" title="Politcal">Politcal</a> <ul> <li class="page_item page-item-25"><a href="http://www.11a.nu/politcal/comments-to-copyright-office/" title="Comments to Copyright Office">Comments to Copyright Office</a></li> </ul> </li> <li class="page_item page-item-20"><a href="http://www.11a.nu/security/" title="Security">Security</a> <ul> <li class="page_item page-item-13"><a href="http://www.11a.nu/security/overflows/" title="Overflows">Overflows</a></li> <li class="page_item page-item-12"><a href="http://www.11a.nu/security/novell-netware/" title="Novell Netware">Novell Netware</a></li> <li class="page_item page-item-16"><a href="http://www.11a.nu/security/pc-bios-security-password-recovery/" title="PC Bios Security & Password Recovery">PC Bios Security & Password Recovery</a></li> <li class="page_item page-item-24"><a href="http://www.11a.nu/security/viruses/" title="Virus">Virus</a> <ul> <li class="page_item page-item-18"><a href="http://www.11a.nu/security/viruses/computer-viruses/" title="Computer Viruses…">Computer Viruses…</a></li> </ul> </li> </ul> </li> <li class="page_item page-item-22"><a href="http://www.11a.nu/software/" title="Software">Software</a> <ul> <li class="page_item page-item-10"><a href="http://www.11a.nu/software/bios-pc-bios-security-and-maintanance-toolkit/" title="!BIOS PC BIOS Security and Maintanance toolkit">!BIOS PC BIOS Security and Maintanance toolkit</a></li> </ul> </li> <li class="page_item page-item-26"><a href="http://www.11a.nu/about-us/" title="About us">About us</a> <ul> <li class="page_item page-item-27"><a href="http://www.11a.nu/about-us/contacting-the-eleventh-alliance/" title="Contacting The eleventh alliance">Contacting The eleventh alliance</a></li> <li class="page_item page-item-28"><a href="http://www.11a.nu/about-us/public-agenda-for-eleventh-alliance/" title="Public agenda for eleventh alliance">Public agenda for eleventh alliance</a></li> <li class="page_item page-item-30"><a href="http://www.11a.nu/about-us/members/" title="Members">Members</a></li> <li class="page_item page-item-44"><a href="http://www.11a.nu/about-us/bringing-security-to-an-insecure-world/" title="Bringing Security into an Insecure world">Bringing Security into an Insecure world</a></li> </ul> </li> </ul> <h2>Categories</h2> <ul> <li class="cat-item cat-item-18"><a href="http://www.11a.nu/category/bluefish/" title="View all posts filed under bluefish">bluefish</a> </li> <li class="cat-item cat-item-12"><a href="http://www.11a.nu/category/proxy/" title="View all posts filed under proxy">proxy</a> </li> <li class="cat-item cat-item-13"><a href="http://www.11a.nu/category/woden/" title="View all posts filed under woden">woden</a> </li> </ul> <h2><script type="text/javascript"><!-- google_ad_client="ca-pub-6745671086279602"; google_ad_width=180; google_ad_height=150; ;google_ad_format="468x60_as"; ;google_ad_format="728x90_as"; google_ad_format="180x150_as"; google_ad_type="text"; google_color_border="000000"; google_color_bg="FFFFFF"; google_color_link="000000"; google_color_url="666666"; google_color_text="000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></h2> </div> <div id="footer"> <p> Copyright © 2003 <a href="http://www.11a.nu">eleventh alliance</a>, All Rights Reserved. </p> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-250611-2"; urchinTracker(); </script> </div> </div> </body> </html>