Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

RETURN-FROM

Name: Anonymous 2011-12-12 12:55

Is it a good practice to use return? Is it a good practice to use continuation-passing-style, where one specifies several return paths?


(defun test (x a b c)
  (cond ((< x 0) (funcall a))
        ((= x 0) (funcall b))
        (t       (funcall c))))

Name: Anonymous 2011-12-12 13:50

is it better to have multiple return statements or setting a variable to the value and only have 1 return statement at the end that is the quesiton

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List