The Artima Developer Community
Sponsored Link

Articles Forum
Modular Architectures with Ruby

15 replies on 2 pages. Most recent reply: Jan 18, 2006 6:57 PM by Andrés Camilo Bustamante

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 15 replies on 2 pages [ « | 1 2 ]
Andrés Camilo Bustamante

Posts: 2
Nickname: andresbube
Registered: Jan, 2006

Re: Modular Architectures with Ruby Posted: Jan 18, 2006 6:57 PM
Reply to this message Reply
Advertisement
Nice article. This kind of article lets me map concepts between what I know and Ruby. I have a Java background but I'm just starting with Ruby.

I understand the pattern you're trying to implement, but it seems a bit strange that there is no "Interface". Because of that you need to define an empty class returning nill on each method, something like an abstract class.

It is very common to define an extensible architecture or and API based on Interfaces, it happens all the time in Java (i.e. JDBC, XML Parsers, etc...) and other OO languages. How is this supported by Ruby?

Flat View: This topic has 15 replies on 2 pages [ « | 1  2 ]
Topic: Contract Programming 101 Previous Topic   Next Topic Topic: Built-in Type Safety?


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us