A .Net Developer’s Initial Thoughts on the Django Framework

Python has been my ‘I need to learn this sometime soon’ language for the past two years. I’m not sure why. A few weeks ago, I started playing around with it to learn the basic syntax using code katas. That was fun. But while code katas help one figure out ways to solve common problems, many of them are really language agnostic, and one can’t really build something useful using knowledge gained only from code katas. This week, I had some spare time and decided to play around more with the Django framework for python.

Continue reading “A .Net Developer’s Initial Thoughts on the Django Framework”

Objective C: Posting Foundation Objects with AFNetworking

The scenario was this. I had Objective C objects which I needed to parse as JSON, and send a POST request to a web server. At first, I used RestKit because that’s the framework that’s being used in the project, but that was giving issues, so I decided to strip it down a level, and use AFNetworking. I searched the internet for hours on how to do it, and good reading was hard to find. Here’s how I did it to anyone who may be in this position in future:

Continue reading “Objective C: Posting Foundation Objects with AFNetworking”

Learning Python and Testing with Code Katas

For the past 4 years, and the four years of university, my main development languages have been the Microsoft languages, i.e. C# and Visual Basic, as well as Objective C recently. They’re very good languages. But for the longest time, I’ve always seen the need to learn new ‘kinds of’ languages. And for some reason, I’ve always had a fascination with Python.

Continue reading “Learning Python and Testing with Code Katas”

2015 Career Goals

It’s a brand new year, and everyone is recovering from overspending in December and making resolutions for the year that they may not keep. I took some time out at the end of last year to look back on the highs and lows of 2014, and make goals for 2015 that I will really really really try keep.

Continue reading “2015 Career Goals”

Commenting Code

I have never had a ‘standard’ in mind on commenting code. There are principles that one should think of, such as method names should be descriptive enough that comments don’t necessarily have to repeat what method names communicate.

I found this great post by Eric Lippert. There are a few things I like about what he did:

  1. One knows the reason for a method. It doesn’t exist arbitrarily. It links to functionality that should exist as defined by the spec.
  2. Promotes single responsibility principle, because a method should only do one thing, and exist for the purpose of doing that thing.
  3. It just makes someone’s code more understandable for when a new person gets on board. Better communication. This is good.

Early Thoughts on iOS Development

Recently, I started developing iOS applications for work. It’s an interesting experience, especially because I once vowed never to do iOS development due to my love-hate relationship with Apple. But the opportunity came up, and the diversity of experience can only be good experience. So here are my thoughts on the past few weeks:

Continue reading “Early Thoughts on iOS Development”

Why Microsoft #1

I was never into movies for a large part of my life. The idea of sitting in front of a screen for more than an hour didn’t seem to make me jump. This was until I came across a film student who was discussing an assignment of theirs. The purpose of the assignment was to deconstruct a movie, from the lighting, to the colouring, to the character development, to the plot, to the climax, to the closing, to the music and all other elements that people more deep than me can think of.

Continue reading “Why Microsoft #1”