The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Why can't I be applicable like John? - Me, April 2011 ----- Beidh ceol, caint agus craic againn - Seán Bán Breathnach ----- Da mihi sis crustum Etruscum cum omnibus in eo! ----- Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932
Don't know the song, but they say it is worth a picture. (A picture is very undervalued by that saying, I saved a PNG in a third of a meg and the same picture in JPEG is over a meg. You would rarely need 20 bytes or more to store a word so my smallest picture is almost worth 20 thousand words and based on general word length, it might be worth over 20K.
PS, think you have a bug in that code:
var wordList = new List<string>();
string word = GetWord();
for (i = 0; i <1000 && word != null; i++)
if (i != 999) word = GetWord();
That's assuming when you run out of words it returns null.
It also seems strange that "i" is a predefined variable before you reach the loop.
Just love it when then marketing team ambushes the development team after a standup meeting. No bigger waste of time than listen to these elephants drone on with buzzword after buzzword to try to sound intelligent in front productive people. So frustrating.
You cannot argue with agile people so just take the extreme approach and shoot him.
Wait! Even though we all believe (and our best testing indicates) that marketing people are useless wastes of air, you might want to try being "nice" to them, at least for a short time.
Marketing people have something we programmers don't: The key to the closet where they keep the free stuff.
Through careful experimentation (upon marketing and sales people) I have determined that treating them with even marginal respect can confuse them enough that you can get:
- Graft your company is supposed to give to customers
- Tickets to concerts and sporting events
- Free stuff vendors give them, etc.
NOTE: If no results are seen after ~20 minutes, immediately terminate the respectful attitude. No sense being a sucker.
Need a new cell phone? We supply most of the major carriers. Telus in Canada. Flash, Verizon, T-Mobile and Sprint in the USA. O2, talkmobile, tmobile, orange, three, and vodafone in Europe. See my website for details.