Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Re: Ummmm.... (Score 1) 319

Agreed. What gets forgotten in the debate is that Java is a reference implementation of all true OOP constructs: Interface Abstract Class Class Which when applied judiciously, allow u to do things like inversion of control, dependency injection and test driven development in a strongly-typed environment, and this strongly-typed nature, when properly embraced, makes it easier to write software which you can refactor as often as you desire with orders of magnitude less risk than with "fsck-all-typed" languages like ruby or JavaScript. So, if your application does little more than pushing data into and reading data from some storage engine, then okay, JavaScript is an okay choice. If your application is growing into having significant business logic, then JavaScript will turn into thousands of lines of spaghetti untraceable closure hell , whereby each refactoring attempt will almost certainly have catastrophic consequences in production down some obscure execution path in some anonymous callback function you couldn't be bothered unit testing because how the fsck do you write a unit test against that anonymous function? There's not a concept of a Class in JavaScript. Sure you can mimmick inheritance patterns with prototypes with albeit some unintended consequences (hasOwnProperry) and encapsulated properties by having your closures reference variables from their enclosing context etc, but those techniques are what i call "expressively contrived" Strongly-typed OOP languages have very-well established tried and true patterns for writing test-driven code Ruby while not strongly typed, at least has a concept of Class/methods/inheritance/polymorphism . Problem with Ruby is as i am writing things TDD in it, the first half of my tests are there to ensure that my methods behave correctly when i pass them arguments of the wrong types, and my methods are littered with lines of code ensuring that my arguments have the expected properties. Totally retarded. And Ruby doesn't know anything about an Interface, but that's okay because it's got "fsck-all-typing" so it's not like you would even try to enforce modicums of contracts. Anyway, as applications grow in complexity, building things TDD in strongly-typed OOP languages leads to more fun, and frequent refactoring which makes ur code more stable instead of more brittle. I've written a crap ton of JS code. Java code too. And PHP. And a minimal amount of Ruby: I've appreciated their strengths. And drawbacks. Feel free to learn the same thing I have the hard way: this panacea mentality to stacks is just one big circle jerk. If you think JS, in its current form, is the only true way to build web applications, then by all means, keep that head firmly planted in the sand while the rest of the World out innovates you with a blend of languages and platforms best-suited for their use-cases.
Wireless Networking

Best Pre-Paid Data Plan For a Visit To Germany? 153

code prole writes "With two upcoming trips to Germany, and no readily available Internet (Wi-Fi or otherwise) in the location where we'll be staying, I'm looking for a no-contract USB stick and pre-paid data plan. Vodafone has a huge selection of USB sticks but has proven to be unresponsive to questions about data plans. And the US-based T-Mobile Help Center was clueless about getting the device in Europe and using it there. Hopefully the Slashdot community has some suggestions. Any duds to avoid?"
Communications

LG Launches Watch Phone In India 109

roh2cool writes "If you are a watch freak and also happen to be a fan of ultra rare (and expensive) gadgets, this might just interest you. The LG GD910 watch phone looks like a normal watch – except for the fact that it can double up as your mobile phone when needed. 'It is quite thin at just 13.9mm and packs in 3G and Video Calling capabilities as well. The phone is quite stylish and the front fascia is covered by scratch-proof tempered glass. It comes with a Bluetooth headset so you don’t have to keep talking like David Hasselhoff talked to his super-car KITT in the “Knight Rider” series.'"
Cellphones

Symbian Completes Transition To Open Source 189

Grond writes "Symbian, maker of the the world's most popular mobile operating system, has completed the transition to a completely open platform months ahead of schedule. While the kernel was opened up last year, the entire platform is now open source, primarily under the Eclipse Public License. A FAQ is available with more information about the platform opening." Adds an anonymous reader, linking to PC Magazine's story on the transition: "By putting Symbian fully in the public domain, the Symbian Foundation is pitting it against Google's Android. Symbian is well known across most of the world, but it's mostly a foreign curiosity in the US, AT&T is the only carrier that currently has a symbian phone in its lineup, the Nokia E71x."

Slashdot Top Deals

"Life, loathe it or ignore it, you can't like it." -- Marvin the paranoid android

Working...