My Life in Code
10 PRINT “Hello World!”
20 GOTO 10
The guys at Radio Shack are going to hate me….
…
this will be more fun…
#include<iostream>
intmain(int argc, char* argv[])
{
std::cout << "Hello World!" << std::endl;
return 0;
}
…
no more memory management…
class Driver
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
…
And Today my code will work….
public class MyObject
{
publicstring SayHello()
{
return "Hello World!";
}
}
[TestFixture]
public class HelloWorldFixture
{
privateMyObject myObject;
[SetUp]
public void SetUp()
{
myObject = new MyObject();
}
[Test]
public void SayHelloTest()
{
Assert.AreEqual("Hello World!", myObject.SayHello());
}
}
Comments
- Anonymous
May 20, 2004
You have a boring life! - Anonymous
May 20, 2004
Hey, I know you...
Been waiting for you to get a blog.
Keep in touch. - Anonymous
May 20, 2004
Yeah... just a test to see if things get working. - Anonymous
May 20, 2004
So, would you like for things to continue to change, or would you prefer for development to stabalize. You learn it, and then it changes. - Anonymous
May 20, 2004
I thought that this blog entry was a nice thing to write. - Anonymous
May 20, 2004
For some of us, this:
DECLARE_INTERFACE(IHelloWorld, IUnknown)
Would have to fit in there somwhere as well... - Anonymous
May 23, 2004
yeah... given my ATL background I would never have gotten the entire interface map in there without scaring people... or even the MI case of implementing IDispatch, IPersistStream etc etc.