Log in or Register for enhanced features | Forgotten Password?
Software Systems & Networks Communications Services The CIO Agenda
Computer Business Review
CBR TV
Return to: CBR Home | News

Sun's NetBeans gets Ruby support

CBR Staff Writer Published 04 March 2007

On the week of EclipseCon, Sun Microsystems Inc is making waves on the sidelines by announcing that the rival NetBeans IDE will add support of the increasingly popular Ruby web scripting language.

Sun has announced an early access release of the NetBeans Ruby Pack that provides kinds of features or support that you would expect with Java. That includes things like code completion that fills in the rest of the line after you type a few familiar keystrokes, and integrated documentation, where the IDE lists all relevant method signatures.

Of course, these are features that Java, and for that matter, Microsoft VB and C# developers have long taken for granted. But the big difference is that these are all strongly typed, managed languages where the possibilities are not endless.

By contrast, Ruby, like PHP or JavaScript, is very loosely structured, and therefore, was never designed for things like listing method calls or objects. In other words, the possibilities in how you write Ruby (or any of the other web scripting languages) are almost endless.

It recalls, in a way, what you had with Visual Basic prior to the .NET framework, where it became a managed language. But unlike VB, which Microsoft owned, Ruby is a public domain language outside any vendor's control. So to fit a square peg into a round hole, Sun did the next best thing: provide partial lists that hint at what you're looking for.

Sun's Ruby work is hardly done. It still is working on ways to support refactoring of Ruby (where you reorganize and consolidate your code to eliminate redundancies), and will add that capability in a future release.

Sun is currently working on similar capabilities for PHP, but is not yet saying when there will be a formal NetBeans plug-in. But since the engine for fitting the Ruby square peg into the round NetBeans hole was written as language-independent, it is likely that Sun will probably have something ready later this year.

Comments
Post a comment

Comments may be moderated for spam, obscenities or defamation.