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.
African Bank has been the focus of recent business news in South Africa for the past few weeks. Everyone has suddenly become an ‘expert analyst’ on the woes of African Bank, and what they should have done differently. Should they have bought Ellerines? Should they have closed down their savings account offering and allowed for a diverse portfolio of profits? It’s easy to judge when looking back, but a lot more difficult to give guiding principles when looking forward.
Continue reading “African Bank and Good Business”
For the past four years, I have really enjoyed reading history books, especially South African and East African history books. About a year and a half ago, I walked into a new bookshop in Rondebosch, Cape Town to see if they had any other books of interest. I came across this book about the origins of the ANC.
Continue reading “Review: The Founders by Andre Odendaal”
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”
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.
Continue reading “Communication”
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”
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.
Isn’t it nice to have someone to blame?
Isn’t it nice to glide out our doors and see hurting, pain and injustice, and have someone to blame? Isn’t it nice to walk in our shoes with a hint of superiority perceiving our intentions greater than others’ actions? Isn’t it nice feeling secure in our fickle securities of achievement, thinking that it was only by our hard work and self-created circumstance that we have the privilege we do now, and others just didn’t work hard enough? Isn’t it nice to ask the question “What will I lose if I give of myself?” instead of “What will they lose if I don’t”? Isn’t it nice to have someone to blame?
Continue reading “Someone to Blame”
Three years ago, a friend of mine and her dad bought me Outliers as a gift. Before this, I hadn’t really heard of Malcolm Gladwell except a few references to his book Tipping Point by people I considered somewhat intellectual. I gave the book a read, and it absolutely blew my mind! So when his new book, David and Goliath came out, I was reading pre-release statements, watching videos, and waiting in heavy anticipation for the book.
Continue reading “I Review: David and Goliath by Malcolm Gladwell”
Aren’t we happy we’ve moved away from the days when religion ruled the world. Thank heavens the universe we are no longer subject to rules and regulations created by archaic institutions subjecting everyone to oppression. But, in order to survive in this world without the bondage of organized religion, we need to create some laws common understandings so that everyone can just get along.
Continue reading “Catechisms for a Secular World”