672329 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 4 Messages: 4 Messages: 4 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Design your own language today: Ted Neward at TSSJS

Posted by: Nuno Teixeira on March 28, 2008 DIGG
By Jack Vaughan

At the second day of the TheServerSide Java Symposium in Las Vegas, developer and consultant Ted Neward told an audience of architects and developers that they should study the newly arising programming languages to find ways to improve their productivity. He even suggested they take a day or a weekend to try to create their own language.

The list of new languages worth checking out is long. Neward mentioned Groovy, Ruby, Scala, F#, and Erlang among many others.

Neward also discussed improvements to Java. “Look to enhancements to the language you use,” he told TSSJS attendees. He pointed to Closures as a new Java technology that bears consideration. He also warned developers to prepare to learn new methods of programming in order to create truly thread-safe code in a new era requiring concurrent processing.

Neward said that it is clear that some languages become ‘eternal,’ and most pass away. But things do not stand still. “We are not done,” he said, of programming language creation.

The new languages bring new ideas, and can be worthwhile learning tools. This is especially true, he said, now that the creation of new languages is spreading more broadly beyond academia, and is being pursued by a large group of pragmatic, working programmers.

“If you haven’t spent any time looking at Ruby .. JRuby .. Scala or any other languages running on the JVM, now is a good time to do so,” he said.

What if developers get resistance from management when they try to implement the new languages? Well, Neward chides, what they don’t know can’t hurt them. Since many of the new languages can run as Java class files on top of the JVM, use of the new languages may not be obvious to some managers. Tell the boss, it’s no problem, he suggested with a wink, “Say ‘It’s okay it’s …er, Java 7,’”

Although he said that Domain-Specific Languages (DSLs) are over-hyped he said the bear consideration.

“Examine the idea of writing your own language. Writing a DSL is much easier than you might think,” he said, pointing to readily available parser/grammar tools. “It is worth spending some time trying it out, playing with it, because, if nothing else, you will find new ways to do everyday business kind of things.”

Threaded replies

·  Design your own language today: Ted Neward at TSSJS by Nuno Teixeira on Fri Mar 28 15:14:10 EDT 2008
  ·  Re: Design your own language today: Ted Neward at TSSJS by Casual Visitor on Fri Mar 28 17:37:38 EDT 2008
    ·  Re: Design your own language today: Ted Neward at TSSJS by William Martinez on Fri Mar 28 19:58:00 EDT 2008
  ·  what they don’t know can’t hurt them. by a a on Sun Mar 30 20:07:52 EDT 2008
  ·  Re: Design your own language today: Ted Neward at TSSJS by Guido Anzuoni on Mon Mar 31 03:24:38 EDT 2008
  Message #249700 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Design your own language today: Ted Neward at TSSJS

Posted by: Casual Visitor on March 28, 2008 in response to Message #249696
Creating a programming language, even if it's 'just' a DSL, is much harder than Neward might think.

  Message #249709 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Design your own language today: Ted Neward at TSSJS

Posted by: William Martinez on March 28, 2008 in response to Message #249700
Sorry to repeat almost all the post I did in the other thread, but those are just about the same topic.

One thing I guess is important about DSL is the language part. Languages are to describe things, using a grammar and a vocabulary. For my purposes, a language may not actually need to be compiled or executed. It should be fine just to describe something.
So, Human-interpreted languages are perfectly fine.

In this post ( Talk about DSL ) I discuss about them, and my actual conclusion is that we do DSL every time the coding lang does not fulfill our needs. They will work for small problem solving up to architecture description. It is not to reinvent the wheel or write new Java cousin, but to allow a better way to solve a problem.

For instance, this
"Now, let’s go a little further: people use DSL all the time! I’ve known programmers everywhere that use encodings in strings. Have you done that? A string that contains a list of values separated by a “separator” (colon?) and the first value is the code of the operations, the other values means something and such? Have you hear of the interpreter pattern? Those are DLS in a String! Micro DSLs, something executable and some other time just to display."

And you can find some other interesting points in the post. No, DSL are not to construct a full language, and you may not need your new IDE either.

William Martinez Pomares.
Architect's Thoughts

  Message #249739 Post reply Post reply Post reply Go to top Go to top Go to top

what they don’t know can’t hurt them.

Posted by: a a on March 30, 2008 in response to Message #249696
>>> what they don’t know can’t hurt them.

what about other developers in your team? or developers that will review and change your code in future? will you lie to them too?

  Message #249743 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Design your own language today: Ted Neward at TSSJS

Posted by: Guido Anzuoni on March 31, 2008 in response to Message #249696
Maybe it was better to have a beer this time.

Guido

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 2

Reza Rahman continues to explore the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (January 21, Article)

Ted Neward Q&A: What you must know about JavaScript, Scala and more

Ted Neward is an independent consultant specializing in high-scale enterprise systems, and an authority in Java and .NET technologies. He is the author and co-author of several books, including Effective Enterprise Java. At TheServerSide Java Symposium in March, he will be presenting sessions on pragmatic architecture, ECMAScript and Scala. (January 15, Article)

Developers split on open sourcing Java

Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP). While some say Oracle should become the new steward of Java and keep the JCP much as it was, others argue that it may be time to open-source this widespread language. (November 24, Article)

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map