InfoQ Homepage Programming Content on InfoQ
-
What's a Ruby DSL and what isn't?
"Domain Specific Language" (DSL) is a popular buzzword in the Ruby community. Recently, however, doubts about the use of the term arose, particularly because it tends to be used even for ordinary APIs, simply because Ruby allows to omit parentheses. We look at some of the style debates.
-
Digging Deeper Into The Myths of Ruby vs. Java
Stuart Halloway of Relevance recently wrote a series of blog posts on "Ruby vs. Java Myths". The series was prompted after he switched gears from working on a green field Ruby project back to a well established Java project.
-
Google SoC Series: Constraint programming with Ruby
Constraint programming is a type of logic programming which allows you to define the constraints of a problem and leave it up to the computer to determine a solution. A Google SoC sponsored project will bring constraint programming to Ruby via a binding to the Gecode library. We talked to Andreas Launila, who develops the project.
-
Not-Yet-Commons-SSL Provides Powerful (and Free) SSL Capabilities
Not-Yet-Commons-SSL is an Apache licensed Java library designed to simplify the use of SSL by providing an easy-to-use API along with robust support for a variety of certificate formats and configuration options.
-
ReSharper 3.0 with full VB.NET Support
Full-featured support for Visual Basic .NET, including complete cross-language functionality with C#, will be available in ReSharper 3.0, a powerful add-in to Microsoft Visual Studio from JetBrains.
-
Rod Johnson: Are we there yet?
We've come a long way from the first versions of J2EE. We've learned to avoid invasive programming models, we've developed a rich set of frameworks and APIs, we know how to develop applications based around simple objects. Are we there yet? Most of us would answer no to that question. If we're not there yet, then where are we headed next? Spring founder Rod Johnson explores this issue.
-
Article: Automating File Uploads with SSH and Ruby
Matthew Bass introduces us to the Net::SFTP and Net::SSH libraries in Ruby and shows how easy it is to build a useful tool with it. In the process, he gives tips on avoiding pitfalls with the APIs.
-
The Futures of Ruby Threading
Ruby's thread system is about to undergo big changes in Ruby 1.9, possibly moving from user space threads to kernel threads. Or not. A recent interview with Matz and Sasada Koichi shows some new ideas that are considered. We take a look at the different possible future Ruby threading systems.
-
HAML: The Beauty of Efficiency
The creator of HAML, an alternative templating language for Rails, feels that 20 minutes is all you’ll need to fall in love with its simplicity. However, a blogger named Grigsby disagrees, claiming that 2 minutes is all it takes. InfoQ investigates.
-
C# and VB Continue to Diverge
When VB.NET and C# were first released, they were often thought of as the same language with a different syntax and minor differences. As time goes on, these differences are becoming more pronounced. For example, their treatment of anonymous types is worlds apart.
-
CodeGear unveils Ruby on Rails IDE
CodeGear announced a new IDE for Ruby on Rails development based on Eclipse. Due out in in the 2nd half of 2007, this will enter a growing market of RoR development tools.
-
A Comparison of C# to Java, Updated
In 2001 Dare Obasanjo has written one of the most comprehensive and accurate "Comparison of Microsoft's C# Programming Language to Sun Microsystems' Java Programming Language". Now he has updated his comparison in order to reflect the changes in the current versions of both languages: Microsoft C# 2.0 and Java Standard Edition 6.
-
Consensus Reached on Closure Proposals
Neal Gafter has announced a consensus proposal for closures in Java. All but one of the authors of the three biggest closure proposals (BGGA, FCM, CICE) has signed on as supporting the JSR.
-
Article: Adding Properties to Ruby Metaprogramatically
Werner Schuster walks us through a simple example of adding Java-style properties support (declarative getters, setters and change listeners) to Ruby classes via a Mixin by using elements of Ruby meta-programming. Introduces ideas for enhancement using principles of design-by-contract and pluggable type systems.
-
Spec# Puts an End to Null Reference Exceptions
Version 1 of Spec# has been released. Spec# in a variant of C# that supports design by contract features such as a non-null type system, pre and post conditions, loop invariants, and object invariants.