Get In Touch
This form does not yet contain any fields.

    Entries in developers (2)


    Top 4 Debugging Tips

    These are the top 4 general debugging tips that I have used in my development across multiple languages, and are not specific to any one language but instead just general ideas.
    1. Track your changes - keep a log of all of the things you have changed and tried while debugging this problem.  This way when you finally swallow your ego and decide to ask for help, you can give that person this full list of everything that has already been tried and shorten their debugging cycle. If your going to be posting your question to a site like StackOverflow this gives valuable information to the people trying to answer your question and gives your post a much higher quality, which should translate into higher quality answers. Creating this list will also allow you to avoid repeating the same steps over and over again while debugging.
    2. Don't Trust Comments - Read your code. Comments should be a guide/reminder as to what the code should be doing, but comments are not code, they cant actually do the work. You need to read and walk through your code to actually debug a problem.  This is especially true when reading other people's code.
    3. Get Help - Talk to someone. Post a question to StackOverflow or dont.  The act of explaining your code forces you to reevaluate your logic. 
    4. Walk Away - Get away from the code, take a walk, get something to eat and then come back to the problem with a clear head.  Pounding away at a problem can force you to be very narrow in your analysis but stepping away from the computer and just thinking about something else can help you reevaluate the problem as the bigger picture.

    Post inspired by the teachings of John Guttag.





    Why I'm spending more time in the Forrst

    With the recent splash made by Yuri and Ron Conway, it should be obvious that 2011 is the year for developers and designers. Incubators and accelerators are popping up around the country, while the big boys like Google and Facebook are making multi-million dollar offers to retain top talent.

    It's easy to understand the motivation to get better, but where do these hackers and designers go to do just that? StackOverflow and Quora are great for single questions but you are also going to have to wade through all of the questions from people struggling to complete an online tutorial or their cs problem set.

    Forrst is a private, invite only community for professional level developers and designers. It's designed to let people share what they are working on, struggling with, or launching. Members are then encouraged to provide feedback, likes, or other comments through a reputation system that awards points for these activities. Having access to high quality people in this community is unlike any social site out there. It's comforting to find a community where people are able to seek and gain helpful feedback instead of the elitists, trolls, or spam that swarms postings at other sites. People are genuinely interested in sharing what they are working on, without any NDA nonsense because the feedback is so valuable that they can iterate or pivot faster than they would be able to working independently. I would encourage any independent or startup developers and designers to head to the Forrst.

    Also follow me on Forrst to see some of the things I'm working on.