So during the week I did a lot of JavaScript and the thing that I found most, what shall I say, mindshiftable, is that you cannot think in the classical OOP way with JavaScript, as you do with C#. JavaScript does everything in functions, and everything within JavaScript is prototypical. Inheritance is prototypical, everything is [...]
Continue reading about Understanding JavaScript from a C# developer’s perspective
In C# there are four things most objects consist of: Properties (think yellow) Fields (think blue) Methods (think purple) Events (think a lightning bolt) Events are implemented in C# through delegates. Think of a button on a web or windows form when you try and understand delegates. The button class will not know how other [...]
I’m kinda excited about Windows 7, and from a few places like this the expectations seem high after the disappointment of Vista. I can’t wait. After doing some Word Automation the last two weeks, first with basic COM components and then with Open XML formats, I am now busy with iTextSharp. The goal of the [...]
So today I revised my strategy of using a COM component to automate Word 2007, simply because the component is not really intended to run in a web server environment, according to Microsoft. Even though my application worked beautifully with the COM component on my development machine it totally failed when I ran it in [...]
Does Microsoft, as a big corporate company, live in a vacuum where they think their products can exist and keep on being profitable without noticing how other competitive products work? Take PHP as an example. Microsoft have made sure that PHP can run on their web servers (IIS), and not just Apache, which makes you [...]
Continue reading about Do Microsoft employees live in vacuums?
In my previous post I mentioned how my week went, kinda. I just want to elaborate a bit and share some other tidbits. So I started my new job, on the 5th of January. My career goal for 2009 is to become a great C# developer, not just for web, but for any platform. Programming [...]
On Monday I started my new job, excitement and anxiousness abound. I came from a job I had for 4.5 years to one where I got a 3 month probationary contract, which makes for some nervous times, because you don’t know what will happen in 3 months from now. That being said I had reached [...]
Have you noted that when you create a constructor for a base class with any parameters you get a compiler error? So for example this gives an error: namespace Constructors { class Program { static void Main(string[] args) { } } class MyTestClass { public MyTestClass(int testValue1, int testValue2) { } } class MyOtherTestClass : [...]
There are three very basic OO concepts that apply to most OO programming languages today: Inheritance / Generalization / Specialization Encapsulation Polymorphism The concept I am going to discuss here is polymorphism. Polymorphism as a concept can be taken from the concept of encapsulation, which states that an object is a complete thing that hides [...]
Read the spec here. The most interesting aspect of HTML 5 to me is this: HTML 5 will be great step forward, standardizing things like dragging and dropping elements on web pages, in-line editing of text and images on sites and new ways of drawing animations. There’s also support for audio and video playback without [...]
Continue reading about HTML 5 and other new web technologies