我是Smalltalk的新手,并试图不使用if语句!在Python上我会写:
try: element = LinkedList.remove() except: element = "nil" finally: return element
Smalltalk中的等价物是什么?
smalltalk exception-handling linked-list
exception-handling ×1
linked-list ×1
smalltalk ×1