The Artima Developer Community
Sponsored Link

Java Buzz Forum
Using Ruby to write C#

0 replies on 1 page.

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 0 replies on 1 page
Bernard Choi

Posts: 74
Nickname: bchoi
Registered: Jun, 2003

Bernard Choi is online
Using Ruby to write C# Posted: Aug 22, 2003 10:16 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Bernard Choi.
Original Post: Using Ruby to write C#
Feed Title: Bernard Choi
Feed URL: http://bchoi.livejournal.com/data/rss
Feed Description: Bernard Choi - LiveJournal.com
Latest Java Buzz Posts
Latest Java Buzz Posts by Bernard Choi
Latest Posts From Bernard Choi

Advertisement
http://www.joecheng.com/blog/entries/UsingRubytowriteC.html

I don't get it... rather than using Ruby to generate that piece of code, why not write that piece of code in it's native language in the first place ?

...

String[] flagColours = {"Red", "Blue", "Yellow", "Green", ...}

foreach ( String colour in flagColours ) {
Flag flag = new Flaf();
flag.name = colour;
flag.text = colour;
flag.onSelected = ...
flag.image = "flag" + colour + ".jpg";
flags.add(flag);
}

...

Read: Using Ruby to write C#

Topic: RE: Call for Comparisons Previous Topic   Next Topic Topic: Magma

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use