using System;
using System.Collections;
public class Person
{
private string name;
private int age;
private string location;
private ArrayList interesets;
public string Name
{
get { return this.name; }
}
public int Age
{
get { return this.age; }
}
public string Location
{
get { return this.location; }
}
public ArrayList Interests
{
get { return this.interests; }
}
public Person(string name, int age, string location)
{
this.name = name;
this.age = age;
this.location = location;
}
}
public class Startup
{
[STAThread]
static void Main(string[] args)
{
DateTime birthDate = new DateTime(1980, 4, 16);
TimeSpan span = DateTime.Now.Subtract(birthDate);
Person me = new Person("Jason Olson", new DateTime(span.Ticks).Year - 1, "Portland, Oregon");
me.Interests.Add("Programming");
me.Interests.Add("Software Engineering");
me.Interests.Add("Simplicity");
me.Interests.Add("Jazz Music");
me.Interests.Add("Music Composition");
me.Interests.Add("Music Arranging");
}
}
Okay, perhaps this entry shows just how much of a geek I really am. I think the code sample gives everyone a run down of who I am. Here are some quotes that express my beliefs in software:
"It is unworthy of excellent men to lose hours like slaves in the labor of calculation which could be relegated to anyone else if machines were used."
-- Gottfried von Leibniz
"When you take something incredibly complex and try to wrap it in something simpler, you often just shroud the complexity. You don't actually design a truly simple system. And in some ways you make it even more complex, because now the user has to understand what was omitted that they might sometimes need. That's simplexity. So to me, simplicity has to be true, in the sense that the further down you go the simpler it gets. It shouldn't get more complicated as you delve down. "
-- Anders Hejlsberg