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.
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.
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:
- One knows the reason for a method. It doesn’t exist arbitrarily. It links to functionality that should exist as defined by the spec.
- Promotes single responsibility principle, because a method should only do one thing, and exist for the purpose of doing that thing.
- It just makes someone’s code more understandable for when a new person gets on board. Better communication. This is good.
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:
A few years ago, my goal was to be the best software developer ever. Over time, that didn’t go away, but I realised that best is an almost impossible tasks, as there are many different kinds of good.
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.
My name is Patrick Kuteesa Kayongo. I am a software developer based in Cape Town, South Africa. Thought I’d create this blog to write down what I’m thinking, and what I’m learning. Enjoy it.
I was working on a little database on a project I’m working. The issue that arose is the storage of names and addresses. Ideally, I wanted the number of names to be variable, and the person’s birth and death address stored. So this was Draft A.
A few months ago, I decided to start a little after-hours for fun project. I decided that I want to do this in Java, so opened up Eclipse, started creating classes, methods, tests, etc, and hoped that everything I did would eventually work up to something absolutely beautiful. Few weeks later of this, I got stuck, and I get over it.
From studying object-oriented programming in university, it was drilled into us how different classes separate concerns, and how different layers of an application should serve different purposes e.g. you can’t have database access procedures in a class that deals with the front end page.
But, lo and behold. Something else has been advised from the secret organisation that designs international best practices that everyone should conform to without questioning it.
This means that there shouldn’t be any styling beyond the basic structure in the html. There shouldn’t be any click actions in the html.
Truly revolutionary. Changed my life.