3 ms·
I'm always surprised that Ruby in particular, given its purely Japanese roots, resembles SVO a lot more than SOV. Though, on the other hand, for object-oriente
by derefr 10y ago
I'm always surprised that Ruby in particular, given its purely Japanese roots, resembles SVO a lot more than SOV.
Though, on the other hand, for object-oriented languages in general, I often wish people new to them knew Japanese, because the "." operator (field-access, method lookup/calling) is kind of hard to explain in terms of English grammar, but in Japanese, you can just tell students to pronounce it as a の and they immediately get it.
- PeCaN 10y agoI suspect the influence of Smalltalk and Perl on Ruby kept it from being more SOV-ish. Too bad, since I actually have an odd preference for SOV and OSV grammars. They're easier on my brain. I think "backwards of" gets the point across alright for an English version of "."/no.
- zumu 10y ago> Ruby ... resembles SVO a lot more than SOV What parts exactly? As a Japanese speaker, all the object methods seem super intuitive. Specifically, the iterator methods vs traditional for loops. Rails and what not, however, not so much.