Coding Reflections – Week 3

Week 3 of attempting to speed up my learning process through reflection.

On the reflection process:

After 15 days of practice, this is really starting to feel like a habit. I’m starting to see the circles get smaller (the Art of Learning is a great book) in my work and when previously I could only think about things in their macro forms, I am discovering even more subtleties.

One way that I am starting  to make the circles smaller in the reflection process is by forming the habit of reflecting immediately when something happens. I think it has to do with what this article suggests, that  the habit of reflecting on mistakes as they happen can greatly increase the speed at which one learns. So instead of spending a long time at the end of the day thinking back on what I did, I am instead reflecting at the point of the mistake (which for me usually means taking too long to find a bug) and trying to find ways to avoid it in the future.



Sometimes doing the smallest thing doesn’t mean starting small. Instead of building up to something big piece by piece, it can often be more effective to take a large block of code that currently works (from somewhere else in the code base or the internet) and whittling that down to only the essentials. There is skill required in making sure you got rid of all the non-essentials, but if you’re diligent, it can be really successful.

concentrate on differences. When faced with a complex system that works and a simpler one that doesn’t, you can either increase the complexity of the broken system until it works, or decrease the complexity of the working one in order to see what parts are truly necessary for what you need done. An example is that this week I had a component that when given a hash with 10 entries would work, but that wouldn’t work when I fed it my own hash with 3 entries. I then methodically added things to my hash until it was exactly the same as the complex one and the function still didn’t accept it. Finally I went the other way and stripped the 10 item hash down to 3.. and the function still accepted that hash. Now with much less complexity I could look deeper and see that the difference wasn’t in the entries, but in the hash type (the one that worked was a “HashWithIndifferentAccess” instead of a normal Hash)


Look for more than one example. When you are working with a large code base and have to do something that is done somewhere else in the application, look hard for other places where things are used. Remember to check more than one place instead of assuming that the code is DRY and it’s all done the same way throughout the application. If you do find that there is more than one way to do something, be sure to use the best way possible and then go back and update the bad example.

Kitteh used Scratch!!  Its super effective


Write things down. The tactic of writing out all the possible causes has been proving really effective. Like super effective! I’m constantly amazed at how well it helps me spot the areas where I should be focusing on. Tracing out the actual flow of a piece of code across functions and source files is way better out in the open than in your head, your mind makes false leaps and assumptions that the cold hard light of a whiteboard marker uncovers easily.


Code in flow state more often. I’ve spent a lot of time building my trigger… now I just need use it more often.





16 thoughts on “Coding Reflections – Week 3

  1. Terrific article! This is the type of information that are supposed to be shared across
    the internet. Shame on Google for not positioning this post higher!
    Come on over and consult with my website . Thank you =)

  2. Great blog! Do you have any hints for aspiring writers?
    I’m planning to start my own blog soon but I’m a little lost
    on everything. Would you propose starting with a free platform like WordPress or go for a
    paid option? There are so many choices out there that I’m completely confused
    .. Any ideas? Appreciate it!

  3. Please let me know if you’re looking for a article writer for your site.
    You have some really great posts and I believe I would be a good asset.
    If you ever want to take some of the load off, I’d really like to write some content for your blog in exchange for a link back to mine.
    Please blast me an email if interested. Thanks!

  4. Metabolic syndrome is a combination of high blood pressure, high cholesterol,
    and a problem with sugar metabolism and obesity.
    As a dieter, if you come across a particular flavour or herbal tea type that you especially fall in love with, you can easily continue consuming it after the completion of your diet without
    having to worry about its effects on your health.
    Men and women who go to get injections are inclined to be a lot more aware of
    their health and are previously on a vegetarian, or other fat reduction diet regime.

  5. Write more, thats all I have to say. Literally, it seems as though
    you relied on the video to make your point. You obviously know what youre talking about, why waste your intelligence on just posting videos
    to your site when you could be giving us something informative to read?

  6. Hello, i feel that i saw you visited my blog thus i got here
    to go back the desire?.I’m attempting to to find issues to improve my web site!I guess
    its good enough to make use of a few of your concepts!!

  7. If you are at the point when you can no longer avoid using a blow dryer, minimize the damage.
    Neither scenarios are conducive to the length of time (at
    least 30 days) most blacks wear cornrows, micro braids or single
    braids. Buy hair care products online for a rich hair repair experience.

  8. They will create profit and loss statements from your old bank statements.
    5%, the Streamlined program offers a chance of a 5% penalty
    for non-willful foreign account holders who failed to disclose their accounts.
    Variety of professionalism that are shown by a los angeles accountant will end up
    as an amazing asset in selecting a good accountant to fill your family needs.

  9. Can I simply just say what a relief to find an individual who
    truly understands what they are discussing on the net.
    You certainly know how to bring a problem to light and make it important.

    More people must read this and understand this side of the story.

    It’s surprising you are not more popular since you certainly have the gift.

Comments are closed.