The most fascinating part of this article to me is getting the perspective of two southeast Asians on language popularity. Also interesting to learn that golang.org is blocked by the Great Firewall.
After his presentation, and during Q/A, someone asked Matz for help on their program. Matz walked over, crouched next to this young developer, and looked over their code. Gave some feedback, walked up to the podium and started answering more questions.
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
import sys
filenames = sys.argv[1:]
def fixline(filename):
text = open(filename).read()
text = text.replace('\n\r','\n')
return text
for file in filenames:
print fixline(file)
This is of course interesting. I have thought about this before: But wouldn't it be more interesting to use (say the orient) language's mindset to set, embedded into the language at its core?
I disagree with basically everything he said about Lisp: first of all, Common Lisp was the frontrunner for several decades, and can hardly be described as having the "smallest, cleanest core". Furthermore, Clojure has been reasonably successful in the past few years, and continues to increase in popularity. It doesn't have the commercial backing of C# or Java, nor does it have the head start of Python or Ruby, but it's getting there.
13 comments
[ 5.6 ms ] story [ 40.3 ms ] thread[1] http://www.greatfirewallofchina.org/
After his presentation, and during Q/A, someone asked Matz for help on their program. Matz walked over, crouched next to this young developer, and looked over their code. Gave some feedback, walked up to the podium and started answering more questions.
Really nice person.
Anyone know where to look? What obstacles or advantages does the character sets give these languages?
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...
A simple Python program:
and its translation:Is it the same for Cyrillic or German or Spanish for that matter?
Blown. Away.
Besides CJK, there are several programming languages that based on non-English languages [2]. A few ones are even widely used in industry.
[1] http://www.chinesepython.org/doc/sample/ask.html
[2] http://en.wikipedia.org/wiki/Non-English-based_programming_l...