this post was submitted on 16 Sep 2024
218 points (84.5% liked)

Programmer Humor

19176 readers
1099 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] joyjoy@lemm.ee 3 points 2 days ago* (last edited 2 days ago) (1 children)

You say that, then use a language that allows you to do this (it's not lisp)

if (foo);
{
  bar();
}
[โ€“] tux0r@feddit.org 3 points 2 days ago* (last edited 2 days ago)

You can make embarrassing mistakes in virtually any programming language that's not too esoteric.

When I still used Python for prototyping (today, I usually use Go for that), it happened much too often that I did this:

if foo:
    bar()
   foobar() # syntax error

In Lisp, however, both errors are much harder to make (not even considering GNU Emacs's superb auto-indentation - which is what most Lispers use these days, as far as I know):

(when foo)  ;; <- obvious!
    (bar))
(when foo
    (bar)
          (foobar)  ;; <- still valid
(quux))  ;; <- also still valid