InfoQ Homepage Languages Content on InfoQ
-
Treetop - PEG parser generator for Ruby
Parsing Expression Grammars (PEG) are a type of recursive descent parsers that have become quite popular recently. Now Ruby gets its own PEG parser generator with Treetop.
-
The state of the Lambda in Ruby 1.9
One of Ruby 1.9's little additions is a new, more concise way to create lambda functions, amongst some other clarifications in the way Blocks work. We take a look at the changes and the reasons for them.
-
Ruby 1.9 - When Will It be Production Ready
Ruby 1.9 is out - but it's not yet intended to be used in production systems. The release tag had one effect: more developers are actually giving it a spin and try to run their applications and libraries and update them for the new version. We looked at how well Ruby 1.9 fares in this aspect.
-
Debate: Should the Java language stop adding new features?
Recently, there has been a lot of debate over the future of the Java platform, with some arguing for more features to compete with languages such as C# and Ruby, and others saying that Java should become a more stable language lest it become too complicated to use. Bruce Eckel started a new round of debates by stating that Java should stop adding new features entirely.
-
Robert Pickering on F# Workflows
In this second InfoQ exclusive article, Robert Pickering continues the conversation diving deep into how workflows work in F#. Workflows in F# provide the building blocks for library implementors to create DSLs.
-
ruby_parser 1.0: a Ruby Parser written in Ruby
Parsing Ruby source code has been done in C, Java, C# - and now in Ruby. Ryan Davis, now working at EngineYard on the Rubinius project, just released ruby_parser 1.0.
-
Mads Torgersen: C# Futures
Floyd interviews Mads Torgersen at JAOO and they discuss the future of C# and the LINQ additions.
-
Does lines of code kill?
Steve Yegge touched a nerve in the development community when he argued that keeping the code size to an absolute minimum is the most important thing when developing software. In his view, you may have to sacrifice some design patterns and avoid refactoring at times just to keep the lines of code down. And if your problem is large enough - you may have to switch to another programming language.
-
Closures and Preserving the Feel of Java
During the last few years, there has been wide-ranging discussion about adding closures to the Java language, either as part of Java SE 7, or in some future, unspecified release. At Javapolis, Joshua Bloch presented his opinion about the controversy, and why he feels that CICE is a more suitable approach.
-
InfoQ Presentation: MetaProgramming Ruby
InfoQ presents a video of Dave Thomas' QCon London presentation "MetaProgramming Ruby". Dave presents the basic Ruby language features for implementing Ruby on Rails features such as has_many. Class methods, open classes, Mixins, and more tools for metaprogramming are demonstrated and explained.
-
InfoQ Presentation: Eric Evans on DDD - Strategic Design
In this talk, Eric Evans introduces two broad principles for strategic design. 'Context mapping' addresses the fact that different groups model differently and 'Core domain' distills a shared vision of the system's core domain and provides a systematic guide to when good enough is good enough versus when to push for excellence.
-
Duck Typing and Protocols vs. Inheritance
A recent debate on the RubyTalk list asked where to use is_a? vs respond_to? This highlights situations where objects respond to the same interface, but don't share any superclasses. We look at this debate and solutions in other languages such as Smalltalk, Erlang, and Scala.
-
Oniguruma Java port speeds up JRuby
Joni, the Java port of the Oniguruma Regex engine, has been merged into the JRuby trunk. This promises to be the final step in implementing compatible and fast Regexes for JRuby... and initial tests with REXML seem to back that up.
-
Interview: Zed Shaw on Mongrel and Ruby in the Enterprise
Zed Shaw - creator of Mongrel and the Profligacy GUI library - sat down with InfoQ for a video interview. Among the topics discussed are Mongrel, how to make money with Ruby in the enterprise and his interest in alternative languages such as Lua, Smalltalk and Factor.
-
InfoQ Presentation: Eric Evans on Domain Driven Design - Putting the Model to Work
Why bother with models? Eric Evans explains that the most critical complexity of most software projects is understanding the business domain itself. In this talk Evans talks about the foundations of Domain-Driven Design and how to make a domain model truly pull its weight and positively transform a project.