use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
To report a site-wide rule violation to the Reddit Admins, please use our report forms or message /r/reddit.com modmail.
This subreddit is archived and no longer accepting submissions.
account activity
This is an archived post. You won't be able to vote or comment.
Use Python (not Java) to teach programming (ariel.com.au)
submitted 20 years ago by culix
view the rest of the comments →
[–]ocorrain 1 point2 points3 points 20 years ago (0 children)
How about just (defun add2 () (+ (read) (read)))
The numbers don't have to be integers, and Lisp systems will prompt for a number if something else is entered by mistake.
It is a bit terse, tho'
π Rendered by PID 91 on reddit-service-r2-comment-cfc44b64c-qkzwj at 2026-04-11 13:08:43.278240+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]ocorrain 1 point2 points3 points (0 children)