Everyone seems to think that they are writing OO after all they are using OO languages such as Java, Python or Ruby. But if you exam the code it is often procedural in nature. Static Methods Static methods are procedural in nature and they have no place in OO world. I can already hear the [...]
Entries from July 2009
How to think about OO
July 31st, 2009 · 45 Comments
Tags: Uncategorized
Software Testing Categorization
July 14th, 2009 · 14 Comments
You hear people talking about small/medium/large/unit/integration/functional/scenario tests but do most of us really know what is meant by that? Here is how I think about tests. Unit/Small Lets start with unit test. The best definition I can find is that it is a test which runs super-fast (under 1 ms) and when it fails you [...]
Tags: Uncategorized
Computer Engineer vs. Computer Scientist
July 11th, 2009 · 39 Comments
Which one are you? I am an engineer. But maybe we should first define the differences between the two. Engineer cares about how the system is put together whereas CS cares about how it works. Do you care about the technology or the algorithm? The Interview Since I am on engineer, these are the kind [...]
Tags: Uncategorized
Why are we embarrassed to admit that we don’t know how to write tests?
July 7th, 2009 · 17 Comments
Take your average developer and ask “do you know language/technology X?” None of us will feel any shame in admitting that we do not know X. After all there are so many languages, frameworks and technologies, how could you know them all? But what if X is writing testable code? Somehow we have trouble answering [...]
Tags: Uncategorized