Posts

Showing posts with the label ide

This Blog Has Moved!

Right, so yes, five years ago I moved to github pages, and never bothered to redirect any of these pages there. Now I've moved on from there, and... Finally I am using my real domain, trishagee.com . My blog is now at trishagee.com/blog .  See you there!

Why Java developers hate .NET

I have been struggling with .NET.  Actually, I have been fighting pitched battles with it. All I want to do is take our existing Java client example code and write an equivalent in C#.  Easy, right? Trisha's Guide to Converting Java to C# Turns out writing the actual C# is relatively straightforward.  Putting to one side the question of writing optimal code (these are very basic samples after all), to get the examples to compile and run was a simple process: 1. Find-and-replace the following (only you can't use Ctrl+R like I expect.  Sigh.) final = readonly (but remove from method params) System.out.printf = Console.WriteLine Map = Dictionary BigDecimal = decimal Set ... oh.  I have no idea. 2. When using callbacks, replace anonymous inner classes with delegates Java something.doSomething(new SomethingRequest(), new SomethingCallBack() { public void onSuccess() { System.out.println("Action successful"); } public voi...

Popular posts from this blog