BROWNTOWN
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago

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

lemmy.ml

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

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

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago
message-square
61
fedilink
  • cross-posted to:
  • [email protected]
  • Logi@lemmy.world
    link
    fedilink
    arrow-up
    169
    ·
    edit-2
    2 months ago

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

    • ryannathans@aussie.zone
      link
      fedilink
      arrow-up
      48
      ·
      2 months ago

      Lgtm ship it to prod

      • Viking_Hippie@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        22
        ·
        2 months ago

        Lgtm? Let’s go to Madrid?

        • zlatko@programming.dev
          link
          fedilink
          arrow-up
          13
          ·
          2 months ago

          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
            ·
            2 months ago

            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
              ·
              2 months ago

              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
            ·
            2 months ago

            LGTM: Large Glitches, Test More!

      • AtariDump@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        2 months ago

    • Arcka@midwest.social
      link
      fedilink
      English
      arrow-up
      23
      ·
      2 months ago

      Oh, so Rust is like JavaScript!

      • barsoap@lemm.ee
        link
        fedilink
        arrow-up
        7
        ·
        2 months ago

        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
        ·
        2 months ago

        Undervalued comment right there. This is better than the OP

      • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        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
      ·
      2 months ago

      Oh… Oh god

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.

  • 1.01K users / day
  • 4.63K users / week
  • 9.28K users / month
  • 17.8K users / 6 months
  • 2 local subscribers
  • 23.1K subscribers
  • 1.39K Posts
  • 50K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org