halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 2 months ago

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

lemmy.ml

message-square
54
fedilink
  • cross-posted to:
  • [email protected]
388

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

lemmy.ml

@[email protected] to Programmer [email protected] • 2 months ago
message-square
54
fedilink
  • cross-posted to:
  • [email protected]
  • Logi
    link
    fedilink
    157•
    edit-2
    2 months ago

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

    • @[email protected]
      link
      fedilink
      46•2 months ago

      Lgtm ship it to prod

      • @[email protected]
        link
        fedilink
        21•2 months ago

        Lgtm? Let’s go to Madrid?

        • @[email protected]
          link
          fedilink
          13•2 months ago

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

          • @[email protected]
            link
            fedilink
            5•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 🤷😁

            • @[email protected]
              link
              fedilink
              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.

          • @[email protected]
            link
            fedilink
            2•2 months ago

            LGTM: Large Glitches, Test More!

      • @[email protected]
        link
        fedilink
        5•2 months ago

    • @[email protected]
      link
      fedilink
      English
      20•2 months ago

      Oh, so Rust is like JavaScript!

      • @[email protected]
        link
        fedilink
        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.

      • @[email protected]
        link
        fedilink
        2•2 months ago

        Undervalued comment right there. This is better than the OP

      • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖
        link
        fedilink
        English
        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.

    • @[email protected]
      link
      fedilink
      9•2 months ago

      Oh… Oh god

Programmer [email protected]

[email protected]

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
  • 1.37K users / day
  • 4.68K users / week
  • 8.71K users / month
  • 17.3K users / 6 months
  • 23.2K subscribers
  • 1.4K Posts
  • 50.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org