Replying to a comment on:

Hunger 2 (Programming) by Dovina

;LISP (defun hunger ;This time do it, and forget ;your silly “syntax error” ;and “bad data type.” (while hungry (if food ;if it’s offered (smell) (taste) (eat) );end if food );end while hungry ;eventually you will get full (search-desires) (fulfill-desires) (hunger) ;Now go back ;to the start ;and don’t complain. ;Keep looping. ;It’s all you get. );end defun hunger

-=Dark_Angel=-, P.I. 3-Mar-05/6:19 PM
You're a thicky.

1. 'food' is either a global variable or an error. Stop disputing it, and stop randomly discharging Lisp syntax.

2. I'm well aware how expressions are formed. I am commenting on your formatting. Your formatting is unconventional and unhelpful. It may be considered "good practice" to put closing brackets on a separate line in the ladies' world of AUTOCAD. It is not considered good practice anywhere else. Lisp is not C.

Go read some actual, non-AUTOCAD Lisp. You will see how it is done in the real world of enormous beards.

3. I don't fathom how you think it "makes the code easier to maintain". However, what doesn't make the code easier to maintain is your cutesy comments. They make it harder, because if you change the name of the function or variable, you have to go update the comment. It also insults the reader, clutters up the page, and makes you look like the only code you've ever seen was from an AUTOCAD tutorial, which is most likely the case.

4. It is "Lisp". Do not discharge what it stands for.

5. That you think "linked list" and "coordinate searches" are sophisticated, confusing computer phrases is both quaint and crushingly dim.




Track and Plan your submissions ; Read some Comics ; Get Paid for your Poetry
PoemRanker Copyright © 2001 - 2024 - kaolin fire - All Rights Reserved
All poems Copyright © their respective authors
An internet tradition since June 9, 2001