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]
  • 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.

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.48K users / day
  • 4.56K users / week
  • 9.26K 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