8 ms·
Object.fork ? is there any environment in which that even attempts to make sense? Fork is a system call.
by richo 14y ago
Object.fork ? is there any environment in which that even attempts to make sense?
Fork is a system call.
- gnaritas 14y agoUh yes, Smalltalk.
- JSadowski 14y agoYes: an environment called life, where you have a career object and you fork it.
- tptacek 14y agoGroan. You mean like, any language with class methods in which "Process" is a class? Like, say, Ruby?
- richo 14y agoIn which case you're not calling it on an instance, are you? Also, in ruby Process is a module, which kinda proves my point. The only reason I point it out is that I find it difficult to take anyone who posts titles like this seriously.
- gnaritas 14y agoIn Smalltalk, fork is an instance method on a block.
- patrickaljord 14y agoYou must be fun at parties (couldn't resist the snark).
- alinajaf 14y agoIn ruby, everything is an object, including modules. Boom.
- deleted 14y ago[deleted]
- stevejalim 14y agoThe title of the book is actually "career.fork()" not "Career.fork()" I wouldn't have been happy with a title that throws an exception :o)
- paulgb 14y agoI believe HN auto-capitalizes the first letter of titles. Can't wait to read the book :-)
- hetman 14y agoThank you for this highly relevant contribution to the present discussion.
- deleted 14y ago[deleted]
- klibertp 14y agoSmalltalk. You can fork any block IIRC. Edit: sorry, I posted reflexively before reading other comments. Turns out I'm not the only one who values Smalltalk to the extent that I actually want to remember something about it :)
- richo 14y agoWoots! Learned something new.