The Bard's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 10 months ago

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

lemmy.ml

message-square
21
link
fedilink
300

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

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 10 months ago
message-square
21
link
fedilink
alert-triangle
You must log in or # to comment.
  • duckythescientist@sh.itjust.works
    link
    fedilink
    arrow-up
    57
    ·
    10 months ago

    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
      119
      ·
      10 months ago

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

      • Arcka@midwest.social
        link
        fedilink
        English
        arrow-up
        15
        ·
        10 months ago

        Oh, so Rust is like JavaScript!

        • barsoap@lemm.ee
          link
          fedilink
          arrow-up
          5
          ·
          10 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.

        • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 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
        6
        ·
        10 months ago

        Oh… Oh god

  • Feathercrown@lemmy.world
    link
    fedilink
    English
    arrow-up
    44
    ·
    10 months ago

    It took me way too long to notice the horror on the right

    • Rusty Shackleford@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      10 months ago

      My eyes!

  • TheAgeOfSuperboredom@lemmy.ca
    link
    fedilink
    arrow-up
    41
    ·
    10 months ago

    Then some jerk runs rustfmt and ruins all your hard work!

    • wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      20
      ·
      10 months ago

      Can’t you fix the default format to this?

  • mostlikelyaperson@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    10 months ago

    My medication mostly.

  • villainy@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    10 months ago

    DwangoAC and the TASBot crew are maniacs in the best possible way. I would like to continue having a high opinion of him, hence I will pretend that this post does not exist.

  • notabot@lemm.ee
    link
    fedilink
    arrow-up
    10
    ·
    10 months ago

    This makes my deeply uncomfortable, like an itch I can’t quite scratch.

    • bitcrafter@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      10 months ago

      More like a scratch you just can’t itch.

  • poireCartable@lemm.ee
    link
    fedilink
    arrow-up
    9
    ·
    10 months ago

    My eyes! My eyes!!!

  • BigMikeInAustin@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 months ago

    I’ll allow it!

  • bitcrafter@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    10 months ago

    My humanity.

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

    I like python like really really like it. But this should be a warcrime

  • /home/pineapplelover@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    10 months ago

    No

  • GourmetLizard@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    10 months ago

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.

  • 556 users / day
  • 2.08K users / week
  • 3.67K users / month
  • 9.99K users / 6 months
  • 1 local subscriber
  • 28.2K subscribers
  • 1.45K Posts
  • 26.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org