Bowyerhub
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 3 days ago

You can pry pattern matching from my cold dead hands

sopuli.xyz

message-square
227
fedilink
503

You can pry pattern matching from my cold dead hands

sopuli.xyz

flamingo_pinyata@sopuli.xyz to Programmer Humor@programming.dev · 3 days ago
message-square
227
fedilink
  • Damarus@feddit.org
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    2 days ago

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

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

      it’s missing strong typing

      Python is strongly typed, but not statically typed.

      • Damarus@feddit.org
        link
        fedilink
        arrow-up
        5
        ·
        2 days ago

        You’re right, that’s what I meant

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

        LLMs will cure this /s

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

        Sounds like the Ruby code base at my work

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

      Good news, everyone!

      MyPy - Optional Static Typing for Python

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

      Just type harder lol

      Mash that keyboard

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

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.

  • 242 users / day
  • 4.13K users / week
  • 8.67K users / month
  • 18K users / 6 months
  • 2 local subscribers
  • 27.9K subscribers
  • 1.41K Posts
  • 34.5K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org