Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 21 hours ago

You can pry pattern matching from my cold dead hands

sopuli.xyz

message-square
162
fedilink
388

You can pry pattern matching from my cold dead hands

sopuli.xyz

flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 21 hours ago
message-square
162
fedilink
  • Damarus@feddit.org
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    12 hours ago

    Python has many great aspects, unfortunately it’s missing strong static typing.

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Dynamic typing is a great feature at times. It’s a pain in the butt other times. One of the things I like about Zig is being able to have opt-in comptime dynamic typing. For a certain class of problem it’s really nice.

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      15 hours ago

      Good news, everyone!

      MyPy - Optional Static Typing for Python

    • h4x0r@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      2
      ·
      19 hours ago

      it’s missing strong typing

      Python is strongly typed, but not statically typed.

      • Damarus@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        12 hours ago

        You’re right, that’s what I meant

    • jjjalljs@ttrpg.network
      link
      fedilink
      arrow-up
      13
      arrow-down
      2
      ·
      19 hours ago

      Most of the code at my current job doesn’t even have the optional type annotations. You just see like def something(config). What’s config? A dict? A list? A string? Who the fuck knows.

      Unfortunately most of the developers seem to have a very pre-modern take on programming and aren’t interested in changing anything.

      • mx_smith@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        9 hours ago

        Sounds like the Ruby code base at my work

      • darklamer@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        10 hours ago

        There’s a special circle in hell for people who write Python without type annotations.

      • gigachad@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 hours ago

        LLMs will cure this /s

    • Gork@sopuli.xyz
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      19 hours ago

      Just type harder lol

      Mash that keyboard

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.

  • 2.03K users / day
  • 4.47K users / week
  • 8.89K users / month
  • 17.9K users / 6 months
  • 1 local subscriber
  • 27.9K subscribers
  • 1.59K Posts
  • 43.9K 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