Articles
|
News
|
Weblogs
|
Books
|
Forums
Artima Forums
|
Articles
|
Weblogs
|
Java Answers
|
News
Sponsored Link
•
Java Buzz Forum
Using Ruby to write C#
0
replies on
1
page.
Welcome
Guest
Sign In
Back to Topic List
Reply to this Topic
Search Forum
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
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#
Previous Topic
Next Topic
Sponsored Links
Web
Artima.com
Copyright
© 1996-2019 Artima, Inc. All Rights Reserved. -
Privacy Policy
-
Terms of Use