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

functions

lemmy.ml

message-square
94
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
106

functions

lemmy.ml

Cipherd@lemmy.ml to Programmer Humor@programming.dev · 1 month ago
message-square
94
link
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
    2
    ·
    1 month ago

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

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month 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
        0
        ·
        1 month ago

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

        • [object Object]@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 month 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.

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.53K users / day
  • 4.22K users / week
  • 8.2K users / month
  • 8.34K users / 6 months
  • 1 local subscriber
  • 28K subscribers
  • 552 Posts
  • 4.27K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: unknown version
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org