Showing posts with label TWUpost. Show all posts
Showing posts with label TWUpost. Show all posts

Wednesday, January 19, 2011

Training Day 8 - Thurs


Composition is preferred over inheritance because having a reference to another object rather than inheriting from the other object increases the amount of the flexibility in the system, which is inherently desirable for systems which will need to be modified. 
An important part of pair programming is having a mental map of each other's sentence structure and idiomatic phrases. This is not a cross-cultural problem so much as it is a problem experienced by people who do not yet share a common set of descriptors for the problems that work brings to them. 

Estimating project stories is an exercise which relies on relative measurements rather than absolutes, because absolutes (i.e. time taken per "point") will be discovered in the process of the first iteration. Also, points per unit of time are roughly equivalent across different groups of developers if and only if a "point" is understood to be like a unit of currency. In other words, I can buy a pair of sandals for Rs300 or for USD $6 but they still cost the same amount. In my opinion, this also has parallels in "absolute time" as it is measured across systems undergoing relativistic affects.  

The good citizen principle by Dan North discusses reasons why checking inputs that are passed internally within a program rather than in from user input is usually unnecessary.  

Mockito makes provisions for a test which is expected to throw an exception. @Test(expected=IndexOutOfBoundsException.class) delights me with its implications for testing sad paths. 

DBDeploy and types of test doubles came up today. Also, Junit is more complex than I knew about, and a little reading goes a long ways.

Future TWUers: 
  • There is a small object somewhat like an air freshener that plugs into a wall socket and glows orange. If you are having a problem with bug bites, stop by the H-block corner store (or N-block may have them also), buy one, and put it in your bedroom. I believe it costs ~300Rs and the price is absolutely worth the reward. 
  • In India, "sick" means "nasty" and "ill" means "sick" i.e. if you call someone sick, you're calling them disgusting. In general, everyone here is very understanding about nomenclature misunderstandings, and they're usually entertaining rather than offensive. "elevator" vs "lift" in the USA vs the UK appears to be the difference between a part of an airplane, and what one does to freeweight exercise equipment.
The internet tells me that somewhere in the world there are companies which have all of their code in a database, which they access with a thin interpretive layer. This is apparently an enormously bad idea because of its effects on testing, maintainability, and speed. I don't know how anyone thought that such a thing would be a good idea in the first place... and I'm curious. The way to refactor this codebase is to slowly add test coverage, and then refactor (in small chunks, starting with the most-used and -modified parts of the codebase) but first they have to start by making and watching a giant logfile to understand the current/expected/default behavior.

This was the first week of Pecha Kucha presentations, and some of the topics included constructive failure, clubs, the concept of "chaordic", science fiction, and saving the tigers. 

Tuesday, January 18, 2011

7

Often, presentations require slides, and often slides require pictures without copyright restrictions. FlickrCC, coolIris, SXC, and EveryStockPhoto.


Sunday, January 16, 2011

"Where I grew up, speaking English would get you teased."

Sitting around after hours, we were discussing TWU-related difficulties. "I don't understand 50% of what you say. Everything is out of context." And here I thought that my diction was passable... "100% of it I don't understand." (About understanding an Irish accent)

I also currently have an auditory comprehension problem with Indian accents. Trying to understand someone who is speaking quickly will make me say "I'm sorry, can you say that again?" repeatedly. Which is bad, because eventually the other person gets fed up and says "Never mind, it wasn't that important anyway!"

Discussing the differences in social dynamics, it seems that in Indian culture (according to one of my teammates) "The person with the laziest opinion wins," and "usually no one goes anywhere." Also, it's considered rude to split the group, when there is a group hanging out together. (?)

We were discussing the service culture and how I was surprised and displeased by some aspects of it, and the phrase "It's like heaven on earth for us." was spoken- meaning that Diamond District feels very luxurious for some of the students.

I also learned for the first time about the Hofstede Index (about how cultures value various person attributes) and where India falls on it.