Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 7 天前

You can pry pattern matching from my cold dead hands

sopuli.xyz

message-square
126
fedilink
423

You can pry pattern matching from my cold dead hands

sopuli.xyz

flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 7 天前
message-square
126
fedilink
  • Damarus@feddit.org
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    7 天前

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

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      7 天前

      Good news, everyone!

      MyPy - Optional Static Typing for Python

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 天前

      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
      13
      arrow-down
      1
      ·
      7 天前

      it’s missing strong typing

      Python is strongly typed, but not statically typed.

      • Damarus@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        7 天前

        You’re right, that’s what I meant

    • jjjalljs@ttrpg.network
      link
      fedilink
      arrow-up
      13
      arrow-down
      2
      ·
      7 天前

      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
        ·
        7 天前

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

      • gigachad@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 天前

        LLMs will cure this /s

      • mx_smith@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        7 天前

        Sounds like the Ruby code base at my work

    • Gork@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      7 天前

      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.

  • 87 users / day
  • 1.9K users / week
  • 5.69K users / month
  • 13.5K users / 6 months
  • 1 local subscriber
  • 28K subscribers
  • 1.71K Posts
  • 44.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org