The Five Smalltalk Keywords

Sep 08, 2004 1:47 PM
Tags:

The phrase was common; the list wasn't. Let's amend that for future Google users:

The 5 keywords in Smalltalk are:

  • self
  • super
  • true
  • false
  • nil

According to petrilli.


Comments: The Five Smalltalk Keywords

The funny part is, they're "technically" not even keywords. They're pseudo-variables that are replaced by the VM on the fly. So by normal definitions, they're really are zero keywords in Smalltalk, but if you tried to fuss with those you'd be VERY sorry.

Posted by: petrilli on September 8, 2004 2:20 PM | permalink

Yeah, I suspect if you redefined those words, your coworkers would whip your ass anyway.

Posted by: Joe Grossberg on September 8, 2004 4:57 PM | permalink

No more comments! Either someone has violated Godwin's Law, I'm tired of the discussion or, most likely, the ten-week window has closed. You can, however, contact me through email.