Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure I fully understand what you mean by "code sample from these languages", but Ruby's source has plenty of code contributed from all over the world https://github.com/ruby/ruby

If you're talking about code written in non-English languages, Peter Cooper has a fun article about writing Ruby code in UTF-8: http://www.rubyinside.com/the-split-is-not-enough-whitespace...



This is right up there with naming functions in Emoji. There are a few in my current codebase that could be gladly replaced with beers, martinis, etc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: