InfoQ Homepage Languages Content on InfoQ
-
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.
-
Is the future of JavaScript ECMAScript 4?
The discussion on the future of ECMAScript has been quite lively lately. Brendan Eich kicked off a flurry of posts about ECMAScript 4 and if that is the right path.
-
Interview: Jay Fields and Zak Tamsen on Domain Specific Languages
Jay Fields and Zak Tamsen talked with InfoQ about Domain Specific Languages (DSLs), and how they have successfully used them in their projects at ThoughtWorks to empower businesses, reduce development time, and increase the agility of projects.
-
JSR-292 and the Multi-Language VM
The JSR-292 effort formed in early 2007 to improve support for dynamic languages on the Java Virtual Machine (JVM). Thus far, the effort has focused on an invokedynamic instruction for the JVM, but has recently included movement towards the creation of a multi-language virtual machine project.
-
Visual Basic 9 Specification Released
Microsoft has released the specifications for Visual Basic 9. This implies that the language is hardening and probably will not change much between now and the release date, expected to be later this year.
-
PHP on Java: Best of Both Worlds?
In the past 18 months PHP seems to be gaining increased relevance in the Java community. We talked with both IBM (who is implementing PHP support in Project Zero) and Caucho (the maker of Resin and more recently Quercus, a PHP interpreter with native Java integration) to get their take on the emerging Java/PHP hybrid stack.
-
Java, Ruby, and the Continuous Tax
Recently as part of a debate on ActiveRecord and Hibernate, Bob Lee of Google used the term "continuous tax" to describe the pros and cons of using a dynamically typed language like Ruby in respect to a statically typed language such as Java.
-
JRuby compiler finished
As Charles Nutter reports, JRuby's Ruby to Bytecode compiler is finished. This is used for AOT and JIT compilation, and will go into JRuby 1.1. Future plans include a compiler that could help with Java integration by turning Ruby classes into Java types.