Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cipherd@lemmy.ml to Programmer Humor@programming.dev · 20 hours ago

functions

lemmy.ml

message-square
70
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
451

functions

lemmy.ml

Cipherd@lemmy.ml to Programmer Humor@programming.dev · 20 hours ago
message-square
70
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml

cross-posted from: https://lemmy.ml/post/39334581

  • save_the_humans@leminal.space
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    13 hours ago

    Anyone tried lisp? Looks something like this. ((()))()())))

    • SlurpingPus@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      7 hours ago

      Remarkable how if the parenthesis is shifted from lambda() to (lambda), people lose the ability to comprehend things.

      • Jankatarch@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        5 hours ago

        Isn’t it more like
        foo(){…} -> (define foo (lambda ()))
        tbf?

        • stammi@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          In clojure it’s (def (fn [])) or short (defn []).

        • SlurpingPus@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 hours ago

          In Emacs Lisp, you use one of these two:

          (defun funcname (arg1 arg2) (+ arg1 arg2))

          (lambda (arg1 arg2) (+ arg1 arg2))

          — with the latter typically being an argument to another function or macro.

      • Jankatarch@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 hours ago

        deleted by creator

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.91K users / day
  • 5.14K users / week
  • 9.01K users / month
  • 19.3K users / 6 months
  • 1 local subscriber
  • 27.4K subscribers
  • 1.61K Posts
  • 45.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org