federate.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@hypertown@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago

I like Python def

lemmy.world

message-square
64
fedilink
503

I like Python def

lemmy.world

@hypertown@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago
message-square
64
fedilink
  • @Cargon@lemmy.ml
    link
    fedilink
    17•2 years ago
    sum(your_mom <- rep(69, 420))
    
    • @pivot_root@lemmy.world
      link
      fedilink
      5•2 years ago

      R?

    • @JonEFive@midwest.social
      link
      fedilink
      2•2 years ago

      NaN

      your_mom is undefined

      • @Cargon@lemmy.ml
        link
        fedilink
        2•2 years ago

        It’s being assigned and passed to sum at the same time. One of the many entertaining quirks of R.

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.
  • 77 users / day
  • 951 users / week
  • 3.08K users / month
  • 9.51K users / 6 months
  • 37K subscribers
  • 1.78K Posts
  • 35.6K Comments
  • Modlog
  • mods:
  • @cat_programmer@lemmy.ml
  • @AgreeableLandscape@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org