Hide Document Parts:
Images
   Digital Media
Forms
QR Code
Output Options:
Print Document
Download PDF
Article
Comments
Page 1
    of 1.
    3 results. Newest
    • Oldest
    first.
    3
    • 10
    • 20
    • 30
    • 40
    • 50
    posts showing.

    Knowing when it’s time to toss code out!

    Published . Last updated .

    Rounding up slightly I have spent 10 hours this week redesigning the notification and form submission system… Actually, I seriously just thought of something else I missed.

    So now that I’ve spent 10 hours on the completed notification and form submission system I’ve come to the point where I want to toss out all the old code that is taking up space in my project. I’m happy to see it go because it really cleans up the project but I don’t want to actually delete it forever so this post will serve as it’s final resting place. Well this code is being saved primarily for nostalgia’s sake I feel some programmers, especially those that are just starting out, would like to pick these apart and see the not so beautiful development process in action. For starters let me share with you a picture showing the layout of events these scripts were trying to accomplish. Early on as I developed these scripts it hit me that things were getting way out of hand so I stopped and mocked everything up to come up with a new plan of attack.

    Solving bugs I didn’t know I had!

    Published . Last updated .

    This has been a very eventful week and a very successful one as far as my programming career goes. Besides the post I put up a few days ago, Knowing when it’s time to toss code out!, I also stumbled on to a bug that turned out not to be a bug and figured I should share.

    So the background of this post in true TL;DR fashion: JavaScript has a bug that returns OBJECT when checking the type of something that is NULL. For the full explanation of this and to get caught up to speed on what I’m talking about so far you should read Dr. Axel Rauschmayer’s post The history of “typeof null”.

    The Revealing Module Pattern + A Beginners Mistake

    Published . Last updated .

    Having presented my Senior Project – Hive Learning Management System – to the powers that be and about to graduate from Brigham Young University Idaho in less than a week, I was less than thrilled to realize I made a major beginners mistake in all of the JavaScript self revealing modules for Hive. In this article I’ll share with you what the revealing module pattern is all about and how you can avoid my annoying and time consuming mistake.

    As a precursor to this article, and your going to have to take my word on this since I can’t find the original article, I’m fairly certain I was taught self revealing modules incorrectly from some programmers blog post. He seemed so knowledgeable.

    Close
    Categories