programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor · 3 个月前

What's stopping you from writing your Rust like this?

lemmy.ml

message-square
61
link
fedilink
  • cross-posted to:
  • [email protected]
403

What's stopping you from writing your Rust like this?

lemmy.ml

cm0002@lemmy.world to Programmer Humor · 3 个月前
message-square
61
link
fedilink
  • cross-posted to:
  • [email protected]
  • duckythescientist@sh.itjust.works
    link
    fedilink
    arrow-up
    84
    ·
    3 个月前

    I’m good at Python, and I don’t know Rust. This looks fine to me. I’ve fully missed the joke.

    • Logi@lemmy.world
      link
      fedilink
      arrow-up
      169
      ·
      edit-2
      3 个月前

      Same. Until you notice the column of curly braces and semi colons in the right margin.

      • ryannathans@aussie.zone
        link
        fedilink
        arrow-up
        48
        ·
        3 个月前

        Lgtm ship it to prod

        • Viking_Hippie@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          22
          ·
          3 个月前

          Lgtm? Let’s go to Madrid?

          • zlatko
            link
            fedilink
            arrow-up
            13
            ·
            3 个月前

            You never review code when you have no time to do an actual review? Looks good to me :)

            • Viking_Hippie@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              6
              arrow-down
              1
              ·
              3 个月前

              You never review code when you have no time to do an actual review?

              Nope. Then again, I never review code at all 🤷😁

              • Mose13@lemmy.world
                link
                fedilink
                arrow-up
                8
                ·
                3 个月前

                Don’t review, don’t write tests, and don’t even do QA. All of those tasks are overhead. It’s time you could be spending completing more story points. All that matters is story points, not the customer, not your coworkers, not your happiness, not your sanity. Just story points.

            • merc@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              3 个月前

              LGTM: Large Glitches, Test More!

        • AtariDump@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          3 个月前

      • Arcka@midwest.social
        link
        fedilink
        English
        arrow-up
        23
        ·
        3 个月前

        Oh, so Rust is like JavaScript!

        • barsoap@lemm.ee
          link
          fedilink
          arrow-up
          7
          ·
          3 个月前

          No, Rust lacks the semicolon elision rules of Javascript which make everyone always use semicolons in javascript because they’re so horribly broken.

          Rust is like ML, quite literally, not just by ancestry: The syntax is palpably ugly, but at least it’s sane, regular, and concise where it matters.

        • F04118F@feddit.nl
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          3 个月前

          Undervalued comment right there. This is better than the OP

        • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 个月前

          Pretty sure javascript is like c but I I can’t be mad at the js devs for the awful language they write.

      • duckythescientist@sh.itjust.works
        link
        fedilink
        arrow-up
        9
        ·
        3 个月前

        Oh… Oh god

Programmer Humor

programmer_humor

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.04K users / day
  • 5.33K users / week
  • 9.15K users / month
  • 18.5K users / 6 months
  • 2.41K local subscribers
  • 23.6K subscribers
  • 1.43K Posts
  • 54K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org