lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 1 day ago

You can pry pattern matching from my cold dead hands

sopuli.xyz

message-square
202
fedilink
466

You can pry pattern matching from my cold dead hands

sopuli.xyz

flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 1 day ago
message-square
202
fedilink
  • Damarus@feddit.org
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    24 hours ago

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

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      19 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.

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

      it’s missing strong typing

      Python is strongly typed, but not statically typed.

      • Damarus@feddit.org
        link
        fedilink
        arrow-up
        5
        ·
        24 hours ago

        You’re right, that’s what I meant

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      1 day ago

      Good news, everyone!

      MyPy - Optional Static Typing for Python

    • jjjalljs@ttrpg.network
      link
      fedilink
      arrow-up
      15
      arrow-down
      2
      ·
      1 day 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.

      • darklamer@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        22 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
        4
        ·
        1 day ago

        LLMs will cure this /s

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

        Sounds like the Ruby code base at my work

    • Gork@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      1 day 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: [email protected]

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.22K users / day
  • 4.5K users / week
  • 8.87K users / month
  • 17.9K users / 6 months
  • 1 local subscriber
  • 27.9K subscribers
  • 1.99K Posts
  • 76.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org