Europe Pub
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tfmA to Programmer Humor@lemmy.mlEnglish · 21 days ago

Python!

message-square
58
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
  • programmer_humor@programming.dev
714

Python!

tfmA to Programmer Humor@lemmy.mlEnglish · 21 days ago
message-square
58
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
  • programmer_humor@programming.dev
  • Cevilia (she/they/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    3
    ·
    20 days ago

    Ah, Python. It might not be fast, but it gets it right in the end. :)

    • Oriel Jutty :hhHHHAAAH:@infosec.exchange
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      20 days ago
      $ python3 -c 'f = (lambda x: x + 0.5 - 0.5); print(f(2**52))'  4503599627370495.5
      

      #python

      • Cevilia (she/they/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        11
        ·
        20 days ago

        Ahh, contrived examples of floating point errors. I haven’t seen those since I asked Javascript to add 0.1 and 0.2 :)

    • Cevilia (she/they/…)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      20 days ago

      deleted by creator

    • MashedTech@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      20 days ago

      Just wait till they get rid of GIL!

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        20 days ago

        And get a whole bunch of multi threading horrors…

        • MashedTech@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          19 days ago

          Well… I’m sorry to tell you… But they’re already working on it.

          • Valmond@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            19 days ago

            Uh, it’ll be like C++ but slow then …

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.

  • 140 users / day
  • 845 users / week
  • 3.64K users / month
  • 7.64K users / 6 months
  • 13 local subscribers
  • 38K subscribers
  • 621 Posts
  • 2.95K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org