Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:oh goody. (Score 3, Interesting) 499

Yeah, that was what I thought before I started using C#. I am a 10+ year veteran of the Java world, and have spent the last year or so on a large C# project. C# has much better syntax in every way that it deviates from Java. Properties are quite clear, since VS does a nice job. Under the covers, there is *no* difference between a property with an implicit getter/setter (i.e. you didn't provide one, so you access the variable directly)--the bytecode creates a synthetic get_ and set_ method, allowing things like AOP to work even if no explicit getter/setter is provided.

The Java method results in much more verbose boilerplate code. This also causes many developers to do more cut-and-paste, another source of potential error. The Java method makes tech like AOP much harder, as there is no synthetic method call surrounding access to public member variables. The Java method is, in short, not object oriented, as it does not properly abstract away property access, so Java tacked on this stupid getXXX/setXXX naming convention in the JavaBean standard.

There are many reasons why Java is a superior platform than .Net/C# (maturity of 3rd party libraries, the open source community, the quality of design in the provided libraries). But the language itself is not one of them. I cannot think of a single area where Java bests C# in terms of the language itself. C# really is the next generation of Java, and has learned from Java's mistakes.

Comment Re:Insurance? (Score 1) 758

I wonder if the database knows how long it took to exhaust the three-digit ID space?

I too can't resist the temptation to scan a thread that talks about low UIDs to see if I can trump the lowest one offered. You never win for long though, as I've observed before. Well, I don't anyway, maybe you do...

Networking

World's Fastest Broadband Connection — 40 Gbps 416

paulraps writes "A 75-year-old woman from Karlstad in central Sweden has been given a scorching 40 Gbps internet connection — the fastest residential connection anywhere in the world. Sigbritt Löthberg is the mother of Swedish internet guru Peter Löthberg, who is using his mother to prove that fiber networks can deliver a cost-effective, ultra-fast connection. Sigbritt, who has never owned a computer before, can now watch 1,500 HDTV channels simultaneously or download a whole high definition DVD in two seconds. Apparently 'the hardest part of the whole project was installing Windows on Sigbritt's PC.'" An article in Press Esc notes an analyst study of the increasing demand for fiber-to-the-home in Europe.

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...