Wrinkled Paper
Another blog in the bitstream...
blogchalk: Patrick/Male/31-35. Lives in United States/Shelby Township/Celeste Estates and speaks English. Spends 80% of daytime online. Uses a Fast (128k-512k) connection.

 
































Subscribe to "Wrinkled Paper" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Monday, October 07, 2002


A better Java.

Java programmers should worry.

As someone who learned a lot about .NET before having to do some Java programming, I can tell you that .NET (C# in particular) really took the good parts of Java and fixed the bad parts to make a kick ass development platform.

I was having another frustrating day pouring over JavaDocs of a vendor's library trying to figure out the valid values for a particular parameter. Some of you non-Java people may not know this, but Java does not have enums. You may have a signature that looks something like this:

void getMyGoat(short mode);
Without good documentation (where I happen to be today!), I have no freakin clue what "mode" is supposed to be (except a short). Contrast that with something from .NET:
void getMyGoat(GetStyle mode);
Now I simply refer to "GetStyle" and I see:
public enum GetStyle
{
    FromBarn,
    FromStore,
    FromKitchen
}

I did a quick search on Google and found Java programmers discussing Java enumerations back in 1996. Six years ago? Most of the stuff I found was really good. These were posts by people who knew language design and gave very good explanations of the pros and cons -- even getting into the details of how the compiler and runtime would handle enumerations. And still nothing.

I'm very happy with .NET. I'm sure a lot of Java people look at it as what Java should have (could have?) been. And a lot of them are probably a little disappointed in Sun...


9:55:49 PM    


Compatibility Considerations and Version Changes

Compatibility Considerations and Version Changes. "The following document describes changes between versions of the .NET Framework that might affect the backward or forward compatibility of your application. Information is also provided about the types of changes that can cause incompatibilities, ways to modify your application to work around incompatibilities, and how to test and run your application on different versions of the .NET Framework."

And so begins the grand experiment of whether it's actually possible to version the .NET runtime and keep everything running and working.

[sellsbrothers.com: Windows Developer News]
9:39:20 PM    



Click here to visit the Radio UserLand website. © Copyright 2002 Patrick Steele.
Last update: 11/4/2002; 9:41:08 AM.

October 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Sep   Nov