wiennat

´ÙµÒÁá·ç¡

All Tags » ruby RSS )
0
805

Joining array of strings in Java

จาก tweet ของ @veer66 เลยอยากรู้ว่าทำไมเลยลองหาดู ดีที่สุดได้แค่นี้ Java String[] s = "Hello World".split(" "); StringBuffer sb = new StringBuffer(); for (int i=0;i<s.length;i++){ sb.append(s ); if (i != s.length-1) sb.append(" "); } System.out.println(sb.toString()); ถ้าภาษาอื่นล่ะ Python (ผ่าน interactive mode) >>>...[ÂѧÁÕµèÍ]
0
797

Updates on IronRuby

Last week I went to Thailand Next Web App and joined in a Rails session. They had a talk and discussed about running Rails in production. Of course, JRuby, Glassfish and other Ruby implementation including IronRuby were mentioned. Then I was asked about it because I was the only .NET guy there. At that time, I didn’t follow the IronRuby for a...[ÂѧÁÕµèÍ]