3 ms·
rainGear.grab(); rainGear.wear(); Isn't this just Java? (see also http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html http://steve-
by DarkShikari 16y ago
rainGear.grab();
rainGear.wear();
Isn't this just Java?
(see also http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom...)
- IgorPartola 16y agoGood point. Functional programming => verb(subject, object). OOP => subject.verb(object). English => subject verb object (is this some Lisp-like construct?).
- deleted 16y ago[deleted]
- masklinn 16y agoThe whole thing really feels a lot like Smalltalk. Some things don't work as well (can't use `;` for the contexts), but apart from that, a smalltalk-like language works well: (weather is: #(#rain? #drizzle?)) ifTrue: [ 'rain gear' haveObject: [ grab wear ] 'door' openObject; walkThrough ] ifFalse: [ 'house' stayIn ]