Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 年前

When programmers see Lisp

lemmy.ml

message-square
18
fedilink
122

When programmers see Lisp

lemmy.ml

☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 年前
message-square
18
fedilink
alert-triangle
You must log in or # to comment.
  • mogoh@lemmy.ml
    link
    fedilink
    arrow-up
    29
    ·
    3 年前

    ))))))))))))))))))))))))))))))))))))))))))))))

    • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
      link
      fedilink
      arrow-up
      24
      ·
      3 年前

      • BaumGeist@lemmy.ml
        link
        fedilink
        arrow-up
        17
        ·
        edit-2
        1 年前

        deleted by creator

        • ______@lemm.ee
          link
          fedilink
          arrow-up
          5
          ·
          3 年前

          Also this just looks like bad code, not a limiting feature of the language.

        • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
          link
          fedilink
          arrow-up
          5
          ·
          3 年前

          Except LISP doesn’t do it terribly, and in my experience there are a lot less parens and other separators than in most languages.

          • BaumGeist@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 年前

            deleted by creator

            • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
              link
              fedilink
              arrow-up
              4
              ·
              3 年前

              The comic doesn’t say anything about Lisp doing it terribly either. It’s saying that people who complain about parens are dealing with far worse in mainstream languages.

              • BaumGeist@lemmy.ml
                link
                fedilink
                arrow-up
                4
                ·
                edit-2
                1 年前

                deleted by creator

                • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
                  link
                  fedilink
                  arrow-up
                  6
                  ·
                  3 年前

                  It’s making fun of people who say that lisp is ugly and confusing. There’s nothing to refute there either since the claim is nonsensical as anybody who’s actually used lisp knows.

      • Butt Pirate@reddthat.com
        cake
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        2 年前

        deleted by creator

        • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
          link
          fedilink
          arrow-up
          4
          ·
          3 年前

          Looks like a typical Js/Ts codebase to me. :)

  • solirs@jlai.lu
    link
    fedilink
    arrow-up
    9
    ·
    3 年前

    As a parentheses hater my personal hell would be having to audit and refactor a lisp codebase

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      fedilink
      arrow-up
      6
      ·
      3 年前

      My work maintains a legacy AutoCAD addin written in Lisp… we are considering dropping support because it’s so difficult to maintain with the original dev gone

      • Kale@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 年前

        Oof. Is that the official plugin language? Siemens NX uses “grip” which is a fork of TCL. And they require purchase of a pricy package to sign and compile code so NX will run it, so we only had one programmer for our custom grip functions.

    • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
      link
      fedilink
      arrow-up
      6
      ·
      3 年前

      Having worked with Clojure for over a decade now, I find it far easier to refactor than most other languages I’ve touched.

  • airbussy
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 年前

    Then there’s Haskell where arguments to a function are given with spaces

    • fibojoly@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      3 年前

      I have fond memories of RPL on the HP48 calculators where you would give arguments as a stack, then call the function. Something like (a+b)*c could be written C A B + * Such fun!

      • Kale@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 年前

        Reverse Polish notation, right? Operand operand operator?

        • fibojoly@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          3 年前

          That’s the one. The Wikipedia article has some extensive examples, too.

          Its weird syntax prepared us well to face the horror of assembly language later on, so I have a certain fondness for it. That and I had absolutely no point of comparison at the time, haha!

    • jana@leminal.space
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 年前

      It makes sense if you just think of everything as a function.

  • cadekat@pawb.social
    link
    fedilink
    arrow-up
    3
    ·
    3 年前

    The real interesting debate is between ((f) 1) and f()(1).

    • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 年前

      I personally find ((f) 1) easier to read. You just go inside out, evaluate f, then pass 1 as the argument to the output of f. There’s no ambiguity regarding order of evaluation there.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 12 users / day
  • 500 users / week
  • 1.1K users / month
  • 4.65K users / 6 months
  • 440 local subscribers
  • 42.7K subscribers
  • 2.04K Posts
  • 41.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org