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

    request.setURL("serverurl").send()
This style of sentence structure was one of the strangest things to get comfortable with. You have to think a bit differently.

The function chaining makes sense here and I wonder if the language had influence on Ruby's development.

Anyone interested in the language should definitely check out the Genki series. It's written well enough you could fully teach yourself.

https://genki3.japantimes.co.jp/en/intro/ or amazon.



The Japanese language does lend itself easily to an endless chain of run-on sentences where the subject quickly becomes blurry. Very useful for programmers and politicians alike. :p


> I wonder if the language had influence on Ruby's development.

The primary author of Ruby is Yukihiro Matsumoto, who is Japanese.


Yeah that's the link what I was referring to, I forgot to add context.

What I meant was if Matz "trying to make Ruby natural, not simple" was due in part to the way the language is spoken.


Possibly inspired by message parsing objects in Smalltalk, no?


That's only a problem if your native language has strict word order.




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

Search: